[FFmpeg-cvslog] r22727 - trunk/libavcodec/vdpau.c

cehoyos subversion
Tue Mar 30 09:52:45 CEST 2010


Author: cehoyos
Date: Tue Mar 30 09:52:44 2010
New Revision: 22727

Log:
Fix VDPAU for H.264 streams with long reference frames.

Patch by Stephen Warren.

Modified:
   trunk/libavcodec/vdpau.c

Modified: trunk/libavcodec/vdpau.c
==============================================================================
--- trunk/libavcodec/vdpau.c	Tue Mar 30 01:34:08 2010	(r22726)
+++ trunk/libavcodec/vdpau.c	Tue Mar 30 09:52:44 2010	(r22727)
@@ -54,7 +54,7 @@ void ff_vdpau_h264_set_reference_frames(
 
     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];



More information about the ffmpeg-cvslog mailing list