diff options
author | Xiaohan Wang <xhwang@chromium.org> | 2018-02-03 12:43:35 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-02-14 03:06:37 +0300 |
commit | 71f39de2a57efc8db1d607b09c162c3b806cd45d (patch) | |
tree | c4c81693388d0b66a2c3211740ac441694575581 /libavformat/rtpdec_svq3.c | |
parent | 474194a8d0f2812802c275f6ed4f0fd5cd58ae0e (diff) |
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>
Diffstat (limited to 'libavformat/rtpdec_svq3.c')
0 files changed, 0 insertions, 0 deletions