mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 04:30:02 +00:00
Almost cosmetics.
Move some assignments after the checks. Originally committed as revision 17318 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d2d600b71f
commit
d76c5ed574
@ -75,9 +75,6 @@ int ff_xvmc_field_start(MpegEncContext*s, AVCodecContext *avctx)
|
||||
return -1; // make sure that this is a render packet
|
||||
}
|
||||
|
||||
render->picture_structure = s->picture_structure;
|
||||
render->flags = s->first_field ? 0 : XVMC_SECOND_FIELD;
|
||||
|
||||
if (render->filled_mv_blocks_num) {
|
||||
av_log(avctx, AV_LOG_ERROR,
|
||||
"Rendering surface contains %i unprocessed blocks.\n",
|
||||
@ -97,6 +94,8 @@ int ff_xvmc_field_start(MpegEncContext*s, AVCodecContext *avctx)
|
||||
return -1;
|
||||
}
|
||||
|
||||
render->picture_structure = s->picture_structure;
|
||||
render->flags = s->first_field ? 0 : XVMC_SECOND_FIELD;
|
||||
render->p_future_surface = NULL;
|
||||
render->p_past_surface = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user