projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38b9d8b
)
Fix VDPAU for H.264 streams with long reference frames.
author
Stephen Warren
<>
Tue, 30 Mar 2010 07:52:44 +0000
(07:52 +0000)
committer
Carl Eugen Hoyos
<cehoyos@rainbow.studorg.tuwien.ac.at>
Tue, 30 Mar 2010 07:52:44 +0000
(07:52 +0000)
Patch by Stephen Warren.
Originally committed as revision 22727 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vdpau.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/vdpau.c
b/libavcodec/vdpau.c
index
cc60acd
..
1ee935b
100644
(file)
--- 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];