aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aacsbr_fixed.c
diff options
context:
space:
mode:
authorXiaohan Wang <xhwang@chromium.org>2018-02-03 01:43:35 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2018-04-13 00:35:15 +0200
commite8fb74c0c9cd3bad7f990b8cf98b56ab54ae3a9c (patch)
tree21921126ae6de70dbf63fabd96fbe1849e6b9257 /libavcodec/aacsbr_fixed.c
parent76a886dae364c665ee83d3eac44e28062b687baa (diff)
downloadffmpeg-e8fb74c0c9cd3bad7f990b8cf98b56ab54ae3a9c.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/aacsbr_fixed.c')
0 files changed, 0 insertions, 0 deletions