[FFmpeg-cvslog] proresdec: add UPDATE_CACHE, should fix decoding with -Os

Michael Niedermayer git at videolan.org
Mon Dec 19 04:23:59 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Dec 19 03:43:53 2011 +0100| [29179239f5cf11c189a0ef20605ef5f5963fdb18] | committer: Michael Niedermayer

proresdec: add UPDATE_CACHE, should fix decoding with -Os

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=29179239f5cf11c189a0ef20605ef5f5963fdb18
---

 libavcodec/proresdec2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c
index aad7b54..82848a4 100644
--- a/libavcodec/proresdec2.c
+++ b/libavcodec/proresdec2.c
@@ -325,7 +325,7 @@ static av_always_inline void decode_ac_coeffs(AVCodecContext *avctx, GetBitConte
     int log2_block_count = av_log2(blocks_per_slice);
 
     OPEN_READER(re, gb);
-
+    UPDATE_CACHE(re, gb);                                           \
     run   = 4;
     level = 2;
 



More information about the ffmpeg-cvslog mailing list