summaryrefslogtreecommitdiffstats
path: root/libmpeg2/slice.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpeg2/slice.c')
-rw-r--r--libmpeg2/slice.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpeg2/slice.c b/libmpeg2/slice.c
index 7f6a2ed052..327612e0e4 100644
--- a/libmpeg2/slice.c
+++ b/libmpeg2/slice.c
@@ -1420,6 +1420,9 @@ do { \
#define NEXT_MACROBLOCK \
do { \
+ if(decoder->quant_store) \
+ decoder->quant_store[decoder->quant_stride*(decoder->v_offset>>4) \
+ +(decoder->offset>>4)] = decoder->quantizer_scale; \
decoder->offset += 16; \
if (decoder->offset == decoder->width) { \
do { /* just so we can use the break statement */ \