lavc/vorbis_parser: ignore unrecognized packet types

pull/389/head
rcombs 2 years ago
parent b6138633cd
commit e0835b4878
  1. 3
      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 %u\n",
buf[0]);
/* Special packets have no duration. */
return 0;

Loading…
Cancel
Save