[SCM] libav/experimental: 10l in implicit_weight_table

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:43:09 UTC 2013


The following commit has been merged in the experimental branch:
commit 738386a5ed5eff0dbad36c33ff96b3b3d4d80af6
Author: Loren Merritt <lorenm at u.washington.edu>
Date:   Thu Feb 24 09:27:46 2005 +0000

    10l in implicit_weight_table
    
    Originally committed as revision 3974 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index f5c6473..1cb66d3 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3152,7 +3152,7 @@ static void implicit_weight_table(H264Context *h){
     for(ref0=0; ref0 < h->ref_count[0]; ref0++){
         int poc0 = h->ref_list[0][ref0].poc;
         for(ref1=0; ref1 < h->ref_count[1]; ref1++){
-            int poc1 = h->ref_list[0][ref1].poc;
+            int poc1 = h->ref_list[1][ref1].poc;
             int td = clip(poc1 - poc0, -128, 127);
             if(td){
                 int tb = clip(cur_poc - poc0, -128, 127);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list