summaryrefslogtreecommitdiffstats
path: root/libmpeg2/slice.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpeg2/slice.c')
-rw-r--r--libmpeg2/slice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpeg2/slice.c b/libmpeg2/slice.c
index 35d99b6a5c..a58487f57c 100644
--- a/libmpeg2/slice.c
+++ b/libmpeg2/slice.c
@@ -142,6 +142,7 @@ static inline void get_quantizer_scale (mpeg2_decoder_t * const decoder)
quantizer_scale_code = UBITS (bit_buf, 5);
DUMPBITS (bit_buf, bits, 5);
+ decoder->quantizer_scale = decoder->quantizer_scales[quantizer_scale_code];
decoder->quantizer_matrix[0] =
decoder->quantizer_prescale[0][quantizer_scale_code];