mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
avcodec/h264_cabac: Fix use with the checked bitstream-reader
Found-by: Dale Curtis <dalecurtis@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4d888a0ad8
commit
7853024071
@ -1619,6 +1619,9 @@ decode_cabac_residual_internal(H264Context *h, int16_t *block,
|
||||
cc.range = h->cabac.range;
|
||||
cc.low = h->cabac.low;
|
||||
cc.bytestream= h->cabac.bytestream;
|
||||
#if !UNCHECKED_BITSTREAM_READER
|
||||
cc.bytestream_end = h->cabac.bytestream_end;
|
||||
#endif
|
||||
#else
|
||||
#define CC &h->cabac
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user