You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
cosmetics: K&R style
Originally committed as revision 17284 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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)
|
|||||||
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)
|
||||||
|
Reference in New Issue
Block a user