You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/smc: use unchecked reader for call after checking remaining size
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user