Quoting Andreas Rheinhardt (2022-02-02 03:13:12) > Who sets invalid media types? > (In case of fftools/*: If they don't set it themselves, they (and all > our users) should be able to rely on our libraries to not set invalid > values. The same goes for all demuxers (as they set this value > themselves). Checks are only necessary where the media type comes from > the user; this means muxers (where the check should be done generically) > and possibly avfiltergraph.c (I am pretty sure that the type has already > been checked earlier for filters).)
Some demuxer code in lavf looks like it might result in a TYPE_UNKNOWN AVStream. E.g. argo_brp, avi, both asfdecs, gxf. -- Anton Khirnov _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".