Re: [FFmpeg-devel] [PATCH] avcodec/ffv1dec: fix some unsupported pix_fmt

2016-06-13 Thread Michael Niedermayer
On Mon, Jun 13, 2016 at 08:44:36PM +0200, Jerome Martinez wrote: > Le 13/06/2016 à 19:55, Michael Niedermayer a écrit : > >On Mon, Jun 13, 2016 at 07:31:15PM +0200, Jerome Martinez wrote: > >>FFV1 decoder: > >> > >>When checking pix_fmt mapping, some bitstreams are mapped to an > >>incorrect

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1dec: fix some unsupported pix_fmt

2016-06-13 Thread Jerome Martinez
Le 13/06/2016 à 19:31, Jerome Martinez a écrit : [...] - JPEG 2000 RCT 9/10/12/14 bit depths with alpha are mapped to a FFmpeg pix_fmt without alpha (e.g. AV_PIX_FMT_GBRP9 for 9-bit with alpha), which is not expected. Sorry, I forgot a remark about this part of the patch: the decoder can

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1dec: fix some unsupported pix_fmt

2016-06-13 Thread Jerome Martinez
Le 13/06/2016 à 19:55, Michael Niedermayer a écrit : On Mon, Jun 13, 2016 at 07:31:15PM +0200, Jerome Martinez wrote: FFV1 decoder: When checking pix_fmt mapping, some bitstreams are mapped to an incorrect pix_fmt instead of being rejected (ENOSYS). Actually, such bitstreams are not supported

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1dec: fix some unsupported pix_fmt

2016-06-13 Thread Michael Niedermayer
On Mon, Jun 13, 2016 at 07:31:15PM +0200, Jerome Martinez wrote: > FFV1 decoder: > > When checking pix_fmt mapping, some bitstreams are mapped to an > incorrect pix_fmt instead of being rejected (ENOSYS). > Actually, such bitstreams are not supported (FFmpeg encoder does not > produce such

[FFmpeg-devel] [PATCH] avcodec/ffv1dec: fix some unsupported pix_fmt

2016-06-13 Thread Jerome Martinez
FFV1 decoder: When checking pix_fmt mapping, some bitstreams are mapped to an incorrect pix_fmt instead of being rejected (ENOSYS). Actually, such bitstreams are not supported (FFmpeg encoder does not produce such bitstream, such bitstream may come only from another encoder for the moment).