Mercurial > libavcodec.hg
comparison h264.h @ 11156:81ef4df2c774 libavcodec
Also skip direct/mvd_cache init for skiped blocks.
Odd thing is i thought ive tryed this already and it failed previously.
author | michael |
---|---|
date | Sat, 13 Feb 2010 19:39:18 +0000 |
parents | dad947e53c52 |
children | 81c3f88f460f |
comparison
equal
deleted
inserted
replaced
11155:dad947e53c52 | 11156:81ef4df2c774 |
---|---|
1013 } | 1013 } |
1014 | 1014 |
1015 if((IS_SKIP(mb_type) || IS_DIRECT(mb_type)) && !FRAME_MBAFF) | 1015 if((IS_SKIP(mb_type) || IS_DIRECT(mb_type)) && !FRAME_MBAFF) |
1016 continue; | 1016 continue; |
1017 | 1017 |
1018 if(!IS_DIRECT(mb_type)) { | 1018 if(!(mb_type&(MB_TYPE_SKIP|MB_TYPE_DIRECT2))) { |
1019 h->ref_cache[list][scan8[5 ]+1] = | 1019 h->ref_cache[list][scan8[5 ]+1] = |
1020 h->ref_cache[list][scan8[7 ]+1] = | 1020 h->ref_cache[list][scan8[7 ]+1] = |
1021 h->ref_cache[list][scan8[13]+1] = //FIXME remove past 3 (init somewhere else) | 1021 h->ref_cache[list][scan8[13]+1] = //FIXME remove past 3 (init somewhere else) |
1022 h->ref_cache[list][scan8[4 ]] = | 1022 h->ref_cache[list][scan8[4 ]] = |
1023 h->ref_cache[list][scan8[12]] = PART_NOT_AVAILABLE; | 1023 h->ref_cache[list][scan8[12]] = PART_NOT_AVAILABLE; |