[FFmpeg-devel] avcodec.h should include errno.h

Scott Bronson scott
Tue Aug 7 04:39:53 CEST 2007


avcodec.h uses EXX macros without first including errno.h

This patch fixes that.

Please cc me; I'm not subscribed to this list.  Thanks,

    - Scott




===================================================================
--- libavcodec/avcodec.h        (revision 1112)
+++ libavcodec/avcodec.h        (revision 1113)
@@ -29,6 +29,7 @@
 
 #include "avutil.h"
 #include <sys/types.h> /* size_t */
+#include <errno.h>     /* EINVAL, EIO, etc. */
 
 #define AV_STRINGIFY(s)         AV_TOSTRING(s)
 #define AV_TOSTRING(s) #s






More information about the ffmpeg-devel mailing list