[FFmpeg-cvslog] aviocat: Remove useless includes

Martin Storsjö git at videolan.org
Sat Jan 21 23:21:14 CET 2012


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Sat Jan 21 11:33:35 2012 +0200| [7ba34575fd3831315b9aa6eba2935800cfccbd54] | committer: Martin Storsjö

aviocat: Remove useless includes

Also include stdlib.h explicitly - currently it is used
implicitly via avformat.h.

Signed-off-by: Martin Storsjö <martin at martin.st>

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

 tools/aviocat.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/tools/aviocat.c b/tools/aviocat.c
index 183cdf70..92483c3 100644
--- a/tools/aviocat.c
+++ b/tools/aviocat.c
@@ -19,13 +19,9 @@
  */
 
 #include <stdio.h>
-#include <string.h>
+#include <stdlib.h>
 #include <unistd.h>
-#include <sys/stat.h>
 #include "libavformat/avformat.h"
-#include "libavformat/riff.h"
-#include "libavutil/intreadwrite.h"
-#include "libavutil/mathematics.h"
 
 static int usage(const char *argv0, int ret)
 {



More information about the ffmpeg-cvslog mailing list