[FFmpeg-devel] [PATCH] Return ENOTSUP if codec does not support feature

Ronald S. Bultje rsbultje
Fri Jul 20 18:05:13 CEST 2007


On 7/20/07, Panagiotis Issaris <takis.issaris at uhasselt.be> wrote:
> Hmm. I interpreted this differently, namely as codec x does not
> support feature y: "Codec H263 does not support feature 4MV", "Codec
> FLV1 does not support feature 4MV", etc..

That is EINVAL, since the requested parameter, the unsupported feature, is
invalid for this codec. ENOTSUP means that the implementation isn't
supported, even though plainly speaking, the parameters would have been
valid for a complete implementation.


More information about the ffmpeg-devel mailing list