[FFmpeg-devel] [PATCH] Replace ENOSYS by ENOTSUP

Michael Niedermayer michaelni
Thu Aug 16 23:26:25 CEST 2007


Hi

On Wed, Aug 15, 2007 at 04:34:25PM -0300, Ramiro Ribeiro Polla wrote:
[...]
> What do you think about #ifdef'ing the definition of AVERROR_*? User apps 
> will always have to check for AVERROR_*, instead of AVERROR(*), and will 
> get an strerror() string on systems that have that error. Attached patch is 
> an example of this.

ive a bad feeling about this
something tells me that libavcodecs compilation and the user apps might
have different E* available from their included headers in some cases ...
leading to hard to debug bugs

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070816/13a4f560/attachment.pgp>



More information about the ffmpeg-devel mailing list