This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 9a765c453aa684c83b938483e2e56f9fe81b69c7
Author:     Marvin Scholz <[email protected]>
AuthorDate: Wed Feb 18 00:23:55 2026 +0100
Commit:     Marvin Scholz <[email protected]>
CommitDate: Tue Apr 28 12:29:37 2026 +0000

    avcodec/dpxenc: add fall-through annotations
---
 libavcodec/dpxenc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/dpxenc.c b/libavcodec/dpxenc.c
index e136c7a249..68e7fece12 100644
--- a/libavcodec/dpxenc.c
+++ b/libavcodec/dpxenc.c
@@ -19,6 +19,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "libavutil/attributes.h"
 #include "libavutil/common.h"
 #include "libavutil/intreadwrite.h"
 #include "libavutil/imgutils.h"
@@ -226,6 +227,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket 
*pkt,
         break;
     default:
         av_log(avctx, AV_LOG_WARNING, "unsupported color transfer\n");
+        av_fallthrough;
     case AVCOL_TRC_UNSPECIFIED:
         color_trc = DPX_TRC_UNSPECIFIED_VIDEO;
         break;
@@ -247,6 +249,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket 
*pkt,
         break;
     default:
         av_log(avctx, AV_LOG_WARNING, "unsupported colorimetric 
specification\n");
+        av_fallthrough;
     case AVCOL_PRI_UNSPECIFIED:
         color_spec = DPX_COL_SPEC_UNSPECIFIED_VIDEO;
         break;

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to