summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-02-13 18:23:46 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-02-13 18:23:46 +0000
commitf2b3763736705b3459ded5deaed36a674d4f4602 (patch)
tree87fbc9983c52318a8b460f703b3a9d35b3021e83 /libavcodec/h264.h
parent4bf2b9e8f3fe82bcc731224cdd622f98f3672d78 (diff)
Skip some more code that isnt needed for direct MBs.
Originally committed as revision 21798 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 522a9cfddd..7e0180acf5 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -1026,7 +1026,7 @@ static void fill_decode_caches(H264Context *h, int mb_type){
*(uint32_t*)h->mv_cache [list][scan8[4 ]]=
*(uint32_t*)h->mv_cache [list][scan8[12]]= 0;
- if( CABAC ) {
+ if( CABAC && !IS_DIRECT(mb_type)) {
/* XXX beurk, Load mvd */
if(USES_LIST(top_type, list)){
const int b_xy= h->mb2b_xy[top_xy] + 3*h->b_stride;