On 04/04/2023 16:43, Michael Niedermayer wrote: > On Mon, Apr 03, 2023 at 12:07:06AM +0200, Jerome Martinez wrote: >> On 02/04/2023 22:07, Michael Niedermayer wrote: >> >> + if (f->version == 4 && f->micro_version > 2) { >> + av_log(f->avctx, AV_LOG_ERROR, "unsupported version 4 micro_version %d\n", >> + f->micro_version); >> + return AVERROR_PATCHWELCOME; >> + } >> } >> f->ac = get_symbol(c, state, 0); > you do not know if the decoder will have any problem with these files But you don't don't if the decoder will have no problem, it seems safer to me to reject something we are not sure to support. Anyway, I don't really care (the decoder will just fail later if it is not compatible + it is explicitly flagged as experimental), attached is a version without the micro_version check. > [...] Jérôme