[FFmpeg-devel] [PATCH 1/2] lavc/vorbis_parser: quiet log on unrecognized packet types
rcombs
rcombs at rcombs.me
Tue Mar 28 23:32:25 EEST 2023
---
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..65ad3fe2a5 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 %i\n",
+ buf[0]);
/* Special packets have no duration. */
return 0;
--
2.39.1
More information about the ffmpeg-devel
mailing list