summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-01-09 22:22:40 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-01-09 22:22:40 +0000
commit7eb6ed78ea191c48279fc208f676807cfd3d732d (patch)
tree2c547e8ae8fda6000f780534ac8c80a162d6131b /libavcodec/h264.c
parentfa50a0276f4e03828e1250f6524b61ef48ca9d15 (diff)
Move VDPAU check, make future VDPAU patches smaller.
Originally committed as revision 16508 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 53cb83890d..a8bd0622a4 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -7647,7 +7647,7 @@ static int decode_frame(AVCodecContext *avctx,
* 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);