[FFmpeg-devel] [PATCH] avcodec/av1dec: Fix unintended fallthrough

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Wed Mar 15 16:09:23 EET 2023


Fixes Coverity issue #1521982.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/av1dec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c
index a80e37e33f..4d3b559b96 100644
--- a/libavcodec/av1dec.c
+++ b/libavcodec/av1dec.c
@@ -911,6 +911,7 @@ static int export_itut_t35(AVCodecContext *avctx, AVFrame *frame,
         default: // ignore unsupported identifiers
             break;
         }
+        break;
     }
     case 0x3C: { // smpte_provider_code
         AVDynamicHDRPlus *hdrplus;
-- 
2.34.1



More information about the ffmpeg-devel mailing list