You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/smc: 0xF0 opcode operates like 0xE0 opcode
This commit is contained in:
@@ -392,6 +392,7 @@ static void smc_decode_stream(SmcContext *s)
|
|||||||
|
|
||||||
/* 16-color block encoding (every pixel is a different color) */
|
/* 16-color block encoding (every pixel is a different color) */
|
||||||
case 0xE0:
|
case 0xE0:
|
||||||
|
case 0xF0:
|
||||||
n_blocks = (opcode & 0x0F) + 1;
|
n_blocks = (opcode & 0x0F) + 1;
|
||||||
|
|
||||||
while (n_blocks--) {
|
while (n_blocks--) {
|
||||||
@@ -405,10 +406,6 @@ static void smc_decode_stream(SmcContext *s)
|
|||||||
ADVANCE_BLOCK();
|
ADVANCE_BLOCK();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0xF0:
|
|
||||||
avpriv_request_sample(s->avctx, "0xF0 opcode");
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user