[FFmpeg-cvslog] r21809 - trunk/libavcodec/h264.h
michael
subversion
Sat Feb 13 20:39:18 CET 2010
Author: michael
Date: Sat Feb 13 20:39:18 2010
New Revision: 21809
Log:
Also skip direct/mvd_cache init for skiped blocks.
Odd thing is i thought ive tryed this already and it failed previously.
Modified:
trunk/libavcodec/h264.h
Modified: trunk/libavcodec/h264.h
==============================================================================
--- trunk/libavcodec/h264.h Sat Feb 13 20:24:32 2010 (r21808)
+++ trunk/libavcodec/h264.h Sat Feb 13 20:39:18 2010 (r21809)
@@ -1015,7 +1015,7 @@ static void fill_decode_caches(H264Conte
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)
More information about the ffmpeg-cvslog
mailing list