[FFmpeg-cvslog] swr: include stdint.h instead of inttypes.h.

Clément Bœsch git at videolan.org
Tue Nov 20 21:55:29 CET 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Tue Nov 20 21:51:25 2012 +0100| [52b7823b737dc712ca2b2c1f5712c3a0a3705de8] | committer: Clément Bœsch

swr: include stdint.h instead of inttypes.h.

stdint.h is for the [u]int*_t types, which is the only thing we need for
the prototypes. inttypes.h includes stdint.h and defines more thing we
don't need here.

Bump micro in case a user app was relying on this include for its own
code.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=52b7823b737dc712ca2b2c1f5712c3a0a3705de8
---

 libswresample/swresample.h |    2 +-
 libswresample/version.h    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libswresample/swresample.h b/libswresample/swresample.h
index 6cc9ed1..71a82cc 100644
--- a/libswresample/swresample.h
+++ b/libswresample/swresample.h
@@ -92,7 +92,7 @@
  * swr_free().
  */
 
-#include <inttypes.h>
+#include <stdint.h>
 #include "libavutil/samplefmt.h"
 
 #include "libswresample/version.h"
diff --git a/libswresample/version.h b/libswresample/version.h
index fe747eb..49541c2 100644
--- a/libswresample/version.h
+++ b/libswresample/version.h
@@ -30,7 +30,7 @@
 
 #define LIBSWRESAMPLE_VERSION_MAJOR 0
 #define LIBSWRESAMPLE_VERSION_MINOR 17
-#define LIBSWRESAMPLE_VERSION_MICRO 100
+#define LIBSWRESAMPLE_VERSION_MICRO 101
 
 #define LIBSWRESAMPLE_VERSION_INT  AV_VERSION_INT(LIBSWRESAMPLE_VERSION_MAJOR, \
                                                   LIBSWRESAMPLE_VERSION_MINOR, \



More information about the ffmpeg-cvslog mailing list