Commit 9e759bfc authored by michael's avatar michael

Also skip direct/mvd_cache init for skiped blocks.

Odd thing is i thought ive tryed this already and it failed previously.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21809 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 22cfd6ee
......@@ -1015,7 +1015,7 @@ static void fill_decode_caches(H264Context *h, int mb_type){
if((IS_SKIP(mb_type) || IS_DIRECT(mb_type)) && !FRAME_MBAFF)
continue;
if(!IS_DIRECT(mb_type)) {
if(!(mb_type&(MB_TYPE_SKIP|MB_TYPE_DIRECT2))) {
h->ref_cache[list][scan8[5 ]+1] =
h->ref_cache[list][scan8[7 ]+1] =
h->ref_cache[list][scan8[13]+1] = //FIXME remove past 3 (init somewhere else)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment