Mercurial > libavcodec.hg
diff h264_refs.c @ 11558:44c5c540722c libavcodec
Fix implicit weight for b frames in mbaff.
author | michael |
---|---|
date | Tue, 30 Mar 2010 21:05:11 +0000 |
parents | 33f8308382f5 |
children | 7dd2a45249a9 |
line wrap: on
line diff
--- a/h264_refs.c Tue Mar 30 20:46:46 2010 +0000 +++ b/h264_refs.c Tue Mar 30 21:05:11 2010 +0000 @@ -323,12 +323,6 @@ } } } - 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)); - } } /**