diff options
author | Michael Niedermayer | 2010-03-30 21:05:11 +0000 |
---|---|---|
committer | Michael Niedermayer | 2010-03-30 21:05:11 +0000 |
commit | 1052b76f0f4142942f0fc2481a4e377a6839b954 (patch) | |
tree | 77b2a1e97ddc1a7d0b092f6840654363d44b5611 /libavcodec/h264_refs.c | |
parent | c28112fab65f95d913ad98ad5998919674239c61 (diff) |
Fix implicit weight for b frames in mbaff.
Originally committed as revision 22733 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264_refs.c')
-rw-r--r-- | libavcodec/h264_refs.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index 7702aadac7..a5b5d5c80b 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -323,12 +323,6 @@ void ff_h264_fill_mbaff_ref_list(H264Context *h){ } } } - for(j=0; j<h->ref_count[1]; j++){ - for(i=0; i<h->ref_count[0]; i++) - h->implicit_weight[j][16+2*i] = h->implicit_weight[j][16+2*i+1] = h->implicit_weight[j][i]; - memcpy(h->implicit_weight[16+2*j], h->implicit_weight[j], sizeof(*h->implicit_weight)); - memcpy(h->implicit_weight[16+2*j+1], h->implicit_weight[j], sizeof(*h->implicit_weight)); - } } /** |