diff options
author | Stephen Warren <> | 2010-03-30 07:52:44 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-03-30 07:52:44 +0000 |
commit | e5efbafdfdffb8717cbeccced224fce4b422ee20 (patch) | |
tree | 8945231eee5c602086f85fb3cf21a5448931b9fa /libavcodec/vdpau.c | |
parent | 38b9d8b8c46399802409b0f12cfb1787d8929893 (diff) | |
download | ffmpeg-e5efbafdfdffb8717cbeccced224fce4b422ee20.tar.gz |
Fix VDPAU for H.264 streams with long reference frames.
Patch by Stephen Warren.
Originally committed as revision 22727 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vdpau.c')
-rw-r--r-- | libavcodec/vdpau.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c index cc60acdcb9..1ee935bf3b 100644 --- a/libavcodec/vdpau.c +++ b/libavcodec/vdpau.c @@ -54,7 +54,7 @@ void ff_vdpau_h264_set_reference_frames(MpegEncContext *s) for (list = 0; list < 2; ++list) { Picture **lp = list ? h->long_ref : h->short_ref; - int ls = list ? h->long_ref_count : h->short_ref_count; + int ls = list ? 16 : h->short_ref_count; for (i = 0; i < ls; ++i) { pic = lp[i]; |