From 1052b76f0f4142942f0fc2481a4e377a6839b954 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 30 Mar 2010 21:05:11 +0000 Subject: Fix implicit weight for b frames in mbaff. Originally committed as revision 22733 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264_refs.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libavcodec/h264_refs.c') 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; jref_count[1]; j++){ - for(i=0; iref_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)); - } } /** -- cgit v1.2.3