You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavc/vorbis_parser: ignore unrecognized packet types
This commit is contained in:
@@ -234,7 +234,8 @@ int av_vorbis_parse_frame_flags(AVVorbisParseContext *s, const uint8_t *buf,
|
|||||||
else if (buf[0] == 5)
|
else if (buf[0] == 5)
|
||||||
*flags |= VORBIS_FLAG_SETUP;
|
*flags |= VORBIS_FLAG_SETUP;
|
||||||
else
|
else
|
||||||
goto bad_packet;
|
av_log(s, AV_LOG_VERBOSE, "Ignoring packet with unknown type %u\n",
|
||||||
|
buf[0]);
|
||||||
|
|
||||||
/* Special packets have no duration. */
|
/* Special packets have no duration. */
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user