diff h264.c @ 8557:24c5744c3e96 libavcodec

Move VDPAU check, make future VDPAU patches smaller.
author cehoyos
date Fri, 09 Jan 2009 22:22:40 +0000
parents 13d14e77e91a
children a5a04d73a570
line wrap: on
line diff
--- a/h264.c	Fri Jan 09 16:51:21 2009 +0000
+++ b/h264.c	Fri Jan 09 22:22:40 2009 +0000
@@ -7647,7 +7647,7 @@
          * past end by one (callers fault) and resync_mb_y != 0
          * causes problems for the first MB line, too.
          */
-        if (avctx->codec_id != CODEC_ID_H264_VDPAU && !FIELD_PICTURE)
+        if (!FIELD_PICTURE)
             ff_er_frame_end(s);
 
         MPV_frame_end(s);