[FFmpeg-cvslog] lavu/error: fix make checkheaders.
Clément Bœsch
git at videolan.org
Fri May 18 23:44:51 CEST 2012
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed May 9 09:57:33 2012 +0200| [7c2bb79f3b849d12800856379063f99f3b018678] | committer: Clément Bœsch
lavu/error: fix make checkheaders.
The errors need to be defined before including functions depending on
them. See av_size_mult() for instance. stddef.h is included for the
prototype of av_sterror (use of size_t).
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7c2bb79f3b849d12800856379063f99f3b018678
---
libavutil/error.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/error.h b/libavutil/error.h
index 3b05e4b..316734f 100644
--- a/libavutil/error.h
+++ b/libavutil/error.h
@@ -25,7 +25,7 @@
#define AVUTIL_ERROR_H
#include <errno.h>
-#include "avutil.h"
+#include <stddef.h>
/**
* @addtogroup lavu_error
More information about the ffmpeg-cvslog
mailing list