[FFmpeg-devel] [PATCH] Make g729dec.c:decoder_init() return AVERROR(EINVAL) rather than AVERROR(NOFMT) in case of ac != 1

Stefano Sabatini stefano.sabatini-lala
Wed Mar 17 00:55:47 CET 2010


$subj.

This set the interesting problem if an invalid value set in the
context should be interpreted as:

EINVAL: Invalid argument
EDOM: Numerical argument out of domain
INVALID_DATA
EPERM: Operation not permitted (aka -1, this is what it looks is done in most of the code)

something else?

Regards.
-- 
FFmpeg = Fabulous Funny Mega Philosophical Emblematic Gigant



More information about the ffmpeg-devel mailing list