From 0f40c9098498ad90dbbd2380eb4269015e84bde4 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 14 Apr 2016 18:24:51 +0200 Subject: Drop pointless assert.h #includes --- libavformat/asfdec.c | 1 - libavformat/mov.c | 3 --- libavformat/movenc.c | 3 --- libavformat/mpeg.c | 3 --- libavformat/mux.c | 1 - libavformat/swf.h | 3 --- 6 files changed, 14 deletions(-) (limited to 'libavformat') 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 - /* 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 - 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 - /*********************************************/ /* 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 - typedef struct SWFContext { int64_t duration_pos; int64_t tag_pos; -- cgit v1.2.3