aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-04-14 18:24:51 +0200
committerDiego Biurrun <diego@biurrun.de>2016-05-03 15:45:10 +0200
commit0f40c9098498ad90dbbd2380eb4269015e84bde4 (patch)
tree3f798539ff430ac9a124f77cc3626d93cb516164 /libavformat
parent74d98d1b0e0e7af444c933ea3c472494de3ce6f2 (diff)
downloadffmpeg-0f40c9098498ad90dbbd2380eb4269015e84bde4.tar.gz
Drop pointless assert.h #includes
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/asfdec.c1
-rw-r--r--libavformat/mov.c3
-rw-r--r--libavformat/movenc.c3
-rw-r--r--libavformat/mpeg.c3
-rw-r--r--libavformat/mux.c1
-rw-r--r--libavformat/swf.h3
6 files changed, 0 insertions, 14 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index e3320e9b69..f232374831 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -20,7 +20,6 @@
*/
#include "libavutil/attributes.h"
-#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/bswap.h"
#include "libavutil/common.h"
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 9d271f8974..ac6ff5d565 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -54,9 +54,6 @@
#include "qtpalette.h"
-#undef NDEBUG
-#include <assert.h>
-
/* those functions parse an atom */
/* links atom IDs to parse functions */
typedef struct MOVParseTableEntry {
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index b792a3b58e..84a57c180e 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -44,9 +44,6 @@
#include "rtpenc.h"
#include "mov_chan.h"
-#undef NDEBUG
-#include <assert.h>
-
static const AVOption options[] = {
{ "movflags", "MOV muxer flags", offsetof(MOVMuxContext, flags), AV_OPT_TYPE_FLAGS, {.i64 = 0}, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM, "movflags" },
{ "rtphint", "Add RTP hint tracks", 0, AV_OPT_TYPE_CONST, {.i64 = FF_MOV_FLAG_RTP_HINT}, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM, "movflags" },
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index f405c4e801..39374b69b6 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -23,9 +23,6 @@
#include "internal.h"
#include "mpeg.h"
-#undef NDEBUG
-#include <assert.h>
-
/*********************************************/
/* demux code */
diff --git a/libavformat/mux.c b/libavformat/mux.c
index 76662ee033..c967ad6b96 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -29,7 +29,6 @@
#include "libavutil/pixdesc.h"
#include "metadata.h"
#include "id3v2.h"
-#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/internal.h"
#include "libavutil/mathematics.h"
diff --git a/libavformat/swf.h b/libavformat/swf.h
index 93473e7dd7..9b90251e9b 100644
--- a/libavformat/swf.h
+++ b/libavformat/swf.h
@@ -67,9 +67,6 @@
#define VIDEO_ID 0
#define SHAPE_ID 1
-#undef NDEBUG
-#include <assert.h>
-
typedef struct SWFContext {
int64_t duration_pos;
int64_t tag_pos;