aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-08-12 13:34:36 +0200
committerPaul B Mahol <onemda@gmail.com>2021-08-13 19:18:24 +0200
commitcf7240d1a7c16e0b7aff4999277e16e7772c77b7 (patch)
tree2f5762cf5115b5516a0b5c661f26657c5aae1f97 /libavcodec
parent18ec426a861c1a9a2072080796dff146bafecb53 (diff)
downloadffmpeg-cf7240d1a7c16e0b7aff4999277e16e7772c77b7.tar.gz
avcodec/smc: 0xF0 opcode operates like 0xE0 opcode
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/smc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/smc.c b/libavcodec/smc.c
index 70851e5e07..4a832edfcf 100644
--- a/libavcodec/smc.c
+++ b/libavcodec/smc.c
@@ -392,6 +392,7 @@ static void smc_decode_stream(SmcContext *s)
/* 16-color block encoding (every pixel is a different color) */
case 0xE0:
+ case 0xF0:
n_blocks = (opcode & 0x0F) + 1;
while (n_blocks--) {
@@ -405,10 +406,6 @@ static void smc_decode_stream(SmcContext *s)
ADVANCE_BLOCK();
}
break;
-
- case 0xF0:
- avpriv_request_sample(s->avctx, "0xF0 opcode");
- break;
}
}