[FFmpeg-cvslog] r17318 - trunk/libavcodec/mpegvideo_xvmc.c
iive
subversion
Sun Feb 15 11:14:16 CET 2009
Author: iive
Date: Sun Feb 15 11:14:16 2009
New Revision: 17318
Log:
Almost cosmetics.
Move some assignments after the checks.
Modified:
trunk/libavcodec/mpegvideo_xvmc.c
Modified: trunk/libavcodec/mpegvideo_xvmc.c
==============================================================================
--- trunk/libavcodec/mpegvideo_xvmc.c Sun Feb 15 11:06:23 2009 (r17317)
+++ trunk/libavcodec/mpegvideo_xvmc.c Sun Feb 15 11:14:16 2009 (r17318)
@@ -75,9 +75,6 @@ int ff_xvmc_field_start(MpegEncContext*s
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
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;
More information about the ffmpeg-cvslog
mailing list