[FFmpeg-devel] [PATCH 2/3] libx265: Return proper invalid data code

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue Feb 17 23:15:33 CET 2015

On 2/17/2015 10:10 PM, James Almer wrote:
> Afaik, if the error is based on user input then EINVAL (Invalid argument) is correct.
> AVERROR_INVALIDDATA is when the error is in the bitstream/container and not an argument the 
> user passed to the library.

Right, I conflated the two.

Patch dropped.

- Derek

More information about the ffmpeg-devel mailing list