You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +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;
|
return AVERROR_INVALIDDATA;
|
||||||
}
|
}
|
||||||
|
|
||||||
opcode = bytestream2_get_byte(&s->gb);
|
opcode = bytestream2_get_byteu(&s->gb);
|
||||||
switch (opcode & 0xF0) {
|
switch (opcode & 0xF0) {
|
||||||
/* skip n blocks */
|
/* skip n blocks */
|
||||||
case 0x00:
|
case 0x00:
|
||||||
|
Reference in New Issue
Block a user