mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/smc: use unchecked reader for call after checking remaining size
This commit is contained in:
parent
85a6404d7e
commit
b6156dd665
|
@ -138,7 +138,7 @@ static int smc_decode_stream(SmcContext *s)
|
|||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
|
||||
opcode = bytestream2_get_byte(&s->gb);
|
||||
opcode = bytestream2_get_byteu(&s->gb);
|
||||
switch (opcode & 0xF0) {
|
||||
/* skip n blocks */
|
||||
case 0x00:
|
||||
|
|
Loading…
Reference in New Issue