# HG changeset patch # User lorenm # Date 1109237266 0 # Node ID b34f2cac6a717325e7bc3f7575bc6097b90c499f # Parent 2c794e3903a267362a2325682878fca5ebaf58f4 10l in implicit_weight_table diff -r 2c794e3903a2 -r b34f2cac6a71 h264.c --- a/h264.c Wed Feb 23 17:24:17 2005 +0000 +++ b/h264.c Thu Feb 24 09:27:46 2005 +0000 @@ -3152,7 +3152,7 @@ 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);