Commit 3b4ccc42 authored by diego's avatar diego

cosmetics: K&R style


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17284 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 12b15268
...@@ -76,7 +76,7 @@ int ff_xvmc_field_start(MpegEncContext*s, AVCodecContext *avctx) ...@@ -76,7 +76,7 @@ int ff_xvmc_field_start(MpegEncContext*s, AVCodecContext *avctx)
render->picture_structure = s->picture_structure; render->picture_structure = s->picture_structure;
render->flags = s->first_field ? 0 : XVMC_SECOND_FIELD; render->flags = s->first_field ? 0 : XVMC_SECOND_FIELD;
if(render->filled_mv_blocks_num){ if (render->filled_mv_blocks_num) {
av_log(avctx, AV_LOG_ERROR, av_log(avctx, AV_LOG_ERROR,
"Rendering surface contains %i unprocessed blocks\n", "Rendering surface contains %i unprocessed blocks\n",
render->filled_mv_blocks_num); render->filled_mv_blocks_num);
...@@ -292,7 +292,7 @@ void ff_xvmc_decode_mb(MpegEncContext *s) ...@@ -292,7 +292,7 @@ void ff_xvmc_decode_mb(MpegEncContext *s)
assert(render->filled_mv_blocks_num <= render->total_number_of_mv_blocks); assert(render->filled_mv_blocks_num <= render->total_number_of_mv_blocks);
assert(render->next_free_data_block_num <= render->total_number_of_data_blocks); assert(render->next_free_data_block_num <= render->total_number_of_data_blocks);
/*The above conditions should not be able to fail as long as this function is used /*The above conditions should not be able to fail as long as this function is used
and following if() automatically call callback to free blocks. */ and following 'if ()' automatically call callback to free blocks. */
if (render->filled_mv_blocks_num >= render->total_number_of_mv_blocks) if (render->filled_mv_blocks_num >= render->total_number_of_mv_blocks)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment