Skip to content
Snippets Groups Projects
Commit 71f39de2 authored by Xiaohan Wang's avatar Xiaohan Wang Committed by Michael Niedermayer
Browse files

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: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 474194a8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment