avformat/oggparsetheora: add fall-through annotations

This commit is contained in:
Marvin Scholz
2026-04-28 12:29:37 +00:00
parent 70fed6fd33
commit 49fc8ddf65
+2
View File
@@ -23,6 +23,7 @@
**/
#include <stdlib.h>
#include "libavutil/attributes.h"
#include "libavutil/mem.h"
#include "libavcodec/get_bits.h"
#include "avformat.h"
@@ -117,6 +118,7 @@ static int theora_header(AVFormatContext *s, int idx)
break;
case 0x81:
ff_vorbis_stream_comment(s, st, os->buf + os->pstart + 7, os->psize - 7);
av_fallthrough;
case 0x82:
if (!thp->version)
return AVERROR_INVALIDDATA;