lavc/vorbis_parser: ignore unrecognized packet types

This commit is contained in:
rcombs 2023-03-28 16:29:46 -04:00
parent b6138633cd
commit e0835b4878
1 changed files with 2 additions and 1 deletions

View File

@ -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;