From a7d7cdaac7b37cdab50159547fd479585efb4315 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Mon, 18 Jan 2010 16:11:13 +0000
Subject: [PATCH] Set h->cbp for ff_h264_filter_mb_fast().

Originally committed as revision 21287 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/h264.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index e4e8556e3e6..8e2b7763d52 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -813,6 +813,8 @@ static av_always_inline int fill_caches(H264Context *h, int mb_type, int for_deb
         *((uint32_t*)&h->non_zero_count_cache[4+8*3])= *((uint32_t*)&h->non_zero_count[mb_xy][20]);
         *((uint64_t*)&h->non_zero_count_cache[0+8*4])= *((uint64_t*)&h->non_zero_count[mb_xy][24]);
 
+        h->cbp= h->cbp_table[mb_xy];
+
         topleft_type = 0;
         topright_type = 0;
         top_type     = h->slice_table[top_xy     ] < 0xFFFF ? s->current_picture.mb_type[top_xy]     : 0;
-- 
GitLab