Le primidi 1er fructidor, an CCXXII, Andrey Myznikov a écrit :
> Additionally, in 'default' section of switch() statement here, I
> propose to return AVERROR(ENOTSUP) instead of AVERROR_INVALIDDATA,
> because it is more clear to get someting like
>      "avformat_write_header() fails: Operation not supported"
> 
> instread  of
>      "avformat_write_header() fails: Invalid data found when
> processing input"
> 
> when we do output, but do not input.

Unfortunately:

ENOTSUP          POSIX     +++...  Operation not supported

The three dots show that ENOTSUP does not exist on windows and BeOS, so it
can not be used in generic code.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to