mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
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
This commit is contained in:
parent
38b9d8b8c4
commit
e5efbafdfd
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue