[FFmpeg-cvslog] avcodec/smc: 0xF0 opcode operates like 0xE0 opcode

Paul B Mahol git at videolan.org
Fri Aug 13 20:19:46 EEST 2021


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Aug 12 13:34:36 2021 +0200| [cf7240d1a7c16e0b7aff4999277e16e7772c77b7] | committer: Paul B Mahol

avcodec/smc: 0xF0 opcode operates like 0xE0 opcode

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cf7240d1a7c16e0b7aff4999277e16e7772c77b7
---

 libavcodec/smc.c | 5 +----
 1 file changed, 1 insertion(+), 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;
         }
     }
 



More information about the ffmpeg-cvslog mailing list