[FFmpeg-devel] [PATCH 2/9] Replace AVERROR_UNKNOWN by AVERROR(EINVAL)

Panagiotis Issaris takis.issaris
Thu Jul 19 17:53:32 CEST 2007


Hi

Op 19-jul-07, om 17:43 heeft Michael Niedermayer het volgende  
geschreven:

> On Thu, Jul 19, 2007 at 02:55:17PM +0200, Panagiotis Issaris wrote:
>> The attached patch replaces the only occurrance of AVERROR_UNKNOWN  
>> with
>> AVERROR(EINVAL).
>
> AVERROR_UNKNOWN "unknown error" !=
> EINVAL "Invalid argument"

Currently, in the ffmpeg sourcecode it is :)

On line 2927 of libavcodec/avcodec.h:
#define AVERROR_UNKNOWN  AVERROR(EINVAL) /**< unknown error */

Has been so as of revision 7965.

With friendly regards,
Takis
--
vCard: http://issaris.org/pi.vcf
PGP key: http://issaris.org/pi.key







More information about the ffmpeg-devel mailing list