From e0835b4878f4f866a540e739683411d72c91f431 Mon Sep 17 00:00:00 2001 From: rcombs Date: Tue, 28 Mar 2023 16:29:46 -0400 Subject: [PATCH] lavc/vorbis_parser: ignore unrecognized packet types --- libavcodec/vorbis_parser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/vorbis_parser.c b/libavcodec/vorbis_parser.c index a7d15d4ce9..d2c9e647ce 100644 --- a/libavcodec/vorbis_parser.c +++ b/libavcodec/vorbis_parser.c @@ -234,7 +234,8 @@ int av_vorbis_parse_frame_flags(AVVorbisParseContext *s, const uint8_t *buf, else if (buf[0] == 5) *flags |= VORBIS_FLAG_SETUP; else - goto bad_packet; + av_log(s, AV_LOG_VERBOSE, "Ignoring packet with unknown type %u\n", + buf[0]); /* Special packets have no duration. */ return 0;