[FFmpeg-devel] perror() in libav*?

Luca Abeni lucabe72
Fri Nov 16 09:02:31 CET 2007


Hi Michael,

Michael Niedermayer wrote:
> On Thu, Nov 15, 2007 at 02:02:22PM +0100, Luca Abeni wrote:
[...]
>> 1) replace perror() with a proper call to av_log() (maybe using
>>     AV_LOG_WARNING instead of AV_LOG_ERROR?)
>> 2) just remove all the references to perror() and return an error
>>     code (the calling application will be in charge of printing
>>     something)
>>
>> The third possibility is to leave everything as is is now ;-)
>>
>> What do other people think?
> 
> use 1

Ok, I'll send a patch for 1) in a short time


			Thanks,
				Luca




More information about the ffmpeg-devel mailing list