summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-02-26 03:27:52 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-02-26 03:27:52 +0000
commit747db4e31a876142aadd488625774151ec27a236 (patch)
tree20dab90a945021c9fd583050c5f203930132c6c7 /libavcodec/h264.h
parent77c6edb846b9530536dd04a2c6d9742130c60398 (diff)
Move init of right side of ref_cache from fill_caches() to init_the_darn_decoder().
Originally committed as revision 22071 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 7f1dee3ada..2e77184c6d 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -1037,9 +1037,6 @@ static void fill_decode_caches(H264Context *h, int mb_type){
continue;
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)
h->ref_cache[list][scan8[4 ]] =
h->ref_cache[list][scan8[12]] = PART_NOT_AVAILABLE;
AV_ZERO32(h->mv_cache [list][scan8[4 ]]);