summaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo_xvmc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-02-14 19:41:16 +0000
committerDiego Biurrun <diego@biurrun.de>2009-02-14 19:41:16 +0000
commit63a21bc0418999a5f7d4fa38b1dc410fc9892da0 (patch)
tree8a735c1f390196e3af41bb1462f19877bc792a39 /libavcodec/mpegvideo_xvmc.c
parent7e2e870e06b94134867702fc2c212f5e46a64f71 (diff)
downloadffmpeg-streaming-63a21bc0418999a5f7d4fa38b1dc410fc9892da0.zip
ffmpeg-streaming-63a21bc0418999a5f7d4fa38b1dc410fc9892da0.tar.gz
Remove one more commented-out line.
Originally committed as revision 17271 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo_xvmc.c')
-rw-r--r--libavcodec/mpegvideo_xvmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_xvmc.c b/libavcodec/mpegvideo_xvmc.c
index 1749dfb..7808123 100644
--- a/libavcodec/mpegvideo_xvmc.c
+++ b/libavcodec/mpegvideo_xvmc.c
@@ -95,7 +95,7 @@ int ff_xvmc_field_start(MpegEncContext*s, AVCodecContext *avctx)
// no return here, going to set forward prediction
case FF_P_TYPE:
last = (struct xvmc_render_state*)s->last_picture.data[2];
- if (!last) // && !s->first_field)
+ if (!last)
last = render; // predict second field from the first
if (last->magic != AV_XVMC_RENDER_MAGIC)
return -1;
OpenPOWER on IntegriCloud