[FFmpeg-devel] [PATCH]Do not ask for jpeg2000 samples that FFmpeg can write

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Jul 13 00:04:19 CEST 2013


Nicolas BERTRAND <nicoinattendu <at> gmail.com> writes:

> Le 07/07/2013 13:17, Carl Eugen Hoyos a écrit :
> >>> -    avpriv_request_sample(s->avctx,
> >>> -                          "CDxy values %d %d for component %d",
> >>> -                          s->cdx[i], s->cdy[i], i);
> >> >
> >> >this should continue to print some warning as it doesnt
> >> >work (at least last i checked)
>
> agree with Paul and raise AV_ERROR_PATCHWELCOME.

Apart from the fact that the patch is already pending:
As said, the warning does not trigger in all cases 
when it is needed, it spams the console when decoding 
with libopenjpeg and FFmpeg currently asks for 
samples that can be produced with ffmpeg which is 
a real problem imo.

> Or not do the test if checked in another place

Sorry, I don't understand.

Carl Eugen



More information about the ffmpeg-devel mailing list