[libav-commits] aviocat: Remove useless includes

Martin Storsjö git at libav.org
Sat Jan 21 11:04:18 CET 2012


Module: libav
Branch: master
Commit: 7ba34575fd3831315b9aa6eba2935800cfccbd54

Author:    Martin Storsjö <martin at martin.st>
Committer: Martin Storsjö <martin at martin.st>
Date:      Sat Jan 21 11:33:35 2012 +0200

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>

---

 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 libav-commits mailing list