mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-16 20:07:04 +00:00
lavc/vorbis_parser: ignore unrecognized packet types
This commit is contained in:
parent
b6138633cd
commit
e0835b4878
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user