diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2005-02-24 09:27:46 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2005-02-24 09:27:46 +0000 |
commit | 738386a5ed5eff0dbad36c33ff96b3b3d4d80af6 (patch) | |
tree | d7787d41796a3b68a9fa40a56e021d8ebdc31e01 /libavcodec/h264.c | |
parent | 8da75fb272f1724c4862c54fc61686c1a4793eb4 (diff) | |
download | ffmpeg-738386a5ed5eff0dbad36c33ff96b3b3d4d80af6.tar.gz |
10l in implicit_weight_table
Originally committed as revision 3974 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index f5c6473fe4..1cb66d33a3 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); |