diff options
author | Xiaohan Wang <xhwang@chromium.org> | 2018-02-03 01:43:35 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-02-19 02:52:16 +0100 |
commit | d4f9119532564c631bf9dfcfc3ab3498cdedcad7 (patch) | |
tree | 1a2d4134cde7534375acd5409fbadb874ce3b7e8 /libavcodec/vp56dsp.c | |
parent | 664e3d217aadba713c46404e2e8cb1d8f9c28485 (diff) | |
download | ffmpeg-d4f9119532564c631bf9dfcfc3ab3498cdedcad7.tar.gz |
avcodec/h264_cavlc: Set valid qscale value in ff_h264_decode_mb_cavlc()
When ff_h264_decode_mb_cavlc() failed due to wrong sl->qscale values,
e.g. dquant out of range, set the qscale to be a valid value before
returning -1 and exiting the function. The qscale value can be used
later e.g. in loop filter.
BUG=806122
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 71f39de2a57efc8db1d607b09c162c3b806cd45d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/vp56dsp.c')
0 files changed, 0 insertions, 0 deletions