[FFmpeg-devel] [PATCH] avformat/oggparseogm: unknown codec triggers error

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Jun 14 17:52:09 EEST 2019



On 14.06.2019, at 03:15, Chris Cunningham <chcunningham at chromium.org> wrote:

> Only "succeed" to read a header if the codec is valid. Otherwise
> return AVERROR_INVALIDDATA.

That doesn't sound right to me, an unknown codec in (possibly) a single stream is not an error.
I understood the discussion more to say the if it's an unknown codec, we should not try to override valid codec configuration with a broken one.


More information about the ffmpeg-devel mailing list