[Ffmpeg-devel] [PATCH] fix EINVAL TO EUNKNOWN
Limin Wang
lance.lmwang
Mon Mar 5 07:39:09 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Any reason to convert unknown error to invalid error code? Or
it's typo only.
Thanks,
Limin
Index: libavcodec/avcodec.h
===================================================================
- --- libavcodec/avcodec.h (revision 8240)
+++ libavcodec/avcodec.h (working copy)
@@ -3045,7 +3045,7 @@
#define AVERROR(e) (e)
#define AVUNERROR(e) (e)
#endif
- -#define AVERROR_UNKNOWN AVERROR(EINVAL) /**< unknown error */
+#define AVERROR_UNKNOWN AVERROR(EUNKNOWN)/**< unknown error */
#define AVERROR_IO AVERROR(EIO) /**< i/o error */
#define AVERROR_NUMEXPECTED AVERROR(EDOM) /**< number syntax expected in
filename */
#define AVERROR_INVALIDDATA AVERROR(EINVAL) /**< invalid data found */
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBReu7DUztbf7dKiuoAQJKzAf/U/unVJfOcDRcYoVgERZl/st30zjRNVQM
ulDwKlubEcb2W56g1CxJOe3vZQFToqPtG9pT6lVjEjxZ1GGtDS+MY9B/qZ7EOFgY
5gQBI9x/BcFVK5MlgFp54u/pjdNKrYPtfv8xxiyS3OilJH6qlVGnFqU2TuGA2IiK
bJ7uww2KGABi5YU/aPn7Vj3JwXcaEdtxTvW67JZMNxuvN3NPaj65sCUwMg9ftOGd
DZg58b5ZQcQNky5YEDiOX5mz19aiVi4+DVkI1mGAECa1WUMs71dALqQpf6RupCtm
OfWmR1Qokq4NosfGBDeYrBeDYYI7CyKcY1jD9/yc/fTwqytWD+Dw4Q==
=Z2Fi
-----END PGP SIGNATURE-----
More information about the ffmpeg-devel
mailing list