mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
lavc/vorbis_parser: ignore unrecognized packet types
This commit is contained in:
parent
b6138633cd
commit
e0835b4878
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue