]> git.sesse.net Git - ffmpeg/commitdiff
Drop pointless assert.h #includes
authorDiego Biurrun <diego@biurrun.de>
Thu, 14 Apr 2016 16:24:51 +0000 (18:24 +0200)
committerDiego Biurrun <diego@biurrun.de>
Tue, 3 May 2016 13:45:10 +0000 (15:45 +0200)
25 files changed:
avconv_vdpau.c
libavcodec/ac3dsp.c
libavcodec/ffv1.c
libavcodec/h264.c
libavcodec/libopusdec.c
libavcodec/libschroedingerdec.c
libavcodec/mjpegenc.c
libavcodec/qdm2.c
libavcodec/svq1dec.c
libavcodec/vc1.c
libavcodec/vdpau.c
libavcodec/wma.c
libavcodec/wmadec.c
libavfilter/vf_hwdownload.c
libavfilter/vf_pad.c
libavformat/asfdec.c
libavformat/mov.c
libavformat/movenc.c
libavformat/mpeg.c
libavformat/mux.c
libavformat/swf.h
libswscale/output.c
libswscale/ppc/yuv2rgb_altivec.c
libswscale/x86/yuv2rgb.c
tests/tiny_psnr.c

index 0ccf29e8e6bebe304ec627289d169449f89fa3ba..b58949e00d7d63de8a3f2ad1ef096bddad0d05ff 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "libavcodec/vdpau.h"
 
-#include "libavutil/avassert.h"
 #include "libavutil/buffer.h"
 #include "libavutil/frame.h"
 #include "libavutil/hwcontext.h"
index 933550bfdcd94211ead6532e06ce2e37831375a2..38c35b187ae5a3e565268b34e37c32b8eb83e5a1 100644 (file)
@@ -19,7 +19,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "libavutil/avassert.h"
 #include "avcodec.h"
 #include "ac3.h"
 #include "ac3dsp.h"
index 3a6c7fac162b872a2c11be5259d6c32cdccb63c4..21d35835a58c2c2833c68d7800cf69dd70639287 100644 (file)
@@ -26,7 +26,7 @@
  */
 
 #include "libavutil/attributes.h"
-#include "libavutil/avassert.h"
+
 #include "avcodec.h"
 #include "get_bits.h"
 #include "put_bits.h"
index 50dea33ef1ee029988fa9a35d08ef8b1e9cac536..d73b76a535dabe1c9705bb2cbcbe670a0cf66928 100644 (file)
@@ -25,7 +25,6 @@
  * @author Michael Niedermayer <michaelni@gmx.at>
  */
 
-#include "libavutil/avassert.h"
 #include "libavutil/display.h"
 #include "libavutil/imgutils.h"
 #include "libavutil/opt.h"
index 2d31b039671033b5a387d4b080d431b3dd5cfff9..c2f748b9440e19f1beae7a51d046d5b203d90445 100644 (file)
@@ -22,8 +22,8 @@
 #include <opus.h>
 #include <opus_multistream.h>
 
-#include "libavutil/avassert.h"
 #include "libavutil/intreadwrite.h"
+
 #include "avcodec.h"
 #include "internal.h"
 #include "vorbis.h"
index cb7374c552b3b8ce254abe156cc75265f688da8c..fb0781ed5c6bf39c40f3a2dca20d3b103db8953a 100644 (file)
 #include "internal.h"
 #include "libschroedinger.h"
 
-#undef NDEBUG
-#include <assert.h>
-
-
 #include <schroedinger/schro.h>
 #include <schroedinger/schrodebug.h>
 #include <schroedinger/schrovideoformat.h>
index e48c945072e6ea815027a8e7fb90b36e7da77783..8291113cb19f860ab74479288f67eccbc6a615cb 100644 (file)
@@ -30,8 +30,6 @@
  * MJPEG encoder.
  */
 
-#include <assert.h>
-
 #include "libavutil/pixdesc.h"
 
 #include "avcodec.h"
index 78dff5a1e06c7cabc19d6a3d5271e72ac0f058d4..bbd57124fa477c114d13c6b8392138cd7b4b0a62 100644 (file)
@@ -47,9 +47,6 @@
 #include "qdm2data.h"
 #include "qdm2_tablegen.h"
 
-#undef NDEBUG
-#include <assert.h>
-
 
 #define QDM2_LIST_ADD(list, size, packet) \
 do { \
index 4f8439589188dcd4c2669acec0caa102d9be2031..841f945384694e3af133de157ee374e2956753cf 100644 (file)
@@ -40,9 +40,6 @@
 #include "mathops.h"
 #include "svq1.h"
 
-#undef NDEBUG
-#include <assert.h>
-
 static VLC svq1_block_type;
 static VLC svq1_motion_component;
 static VLC svq1_intra_multistage[6];
index 14634bd993b2eb47f2be7579070934819de61ae4..9292b32903899e50ee1ee1c0df85b18f4cb70d09 100644 (file)
@@ -36,9 +36,6 @@
 #include "unary.h"
 #include "simple_idct.h"
 
-#undef NDEBUG
-#include <assert.h>
-
 /***********************************************************************/
 /**
  * @name VC-1 Bitplane decoding
index bf5f8d9c315b8b7105a057157d1b92d12d2f7910..b7784393dfd3ae9c97029a95cb2e04e6dc23646b 100644 (file)
  */
 
 #include <limits.h>
-#include "libavutil/avassert.h"
+
 #include "avcodec.h"
 #include "internal.h"
 #include "h264.h"
 #include "vc1.h"
-
-#undef NDEBUG
-#include <assert.h>
-
 #include "vdpau.h"
 #include "vdpau_internal.h"
 
index f0aabfcba365830a83e3fccfc773020b5080a8bd..9f4e757f14744d8bb595c999e263f3f909af540e 100644 (file)
@@ -29,9 +29,6 @@
 #include "wma_freqs.h"
 #include "wmadata.h"
 
-#undef NDEBUG
-#include <assert.h>
-
 /* XXX: use same run/length optimization as mpeg decoders */
 // FIXME maybe split decode / encode or pass flag
 static av_cold int init_coef_vlc(VLC *vlc, uint16_t **prun_table,
index b79dd2a101396dd7a1e53fad682d72825145d842..b6be51ad4b868a1a76cce0d8d925a5db02202197 100644 (file)
@@ -39,9 +39,6 @@
 #include "internal.h"
 #include "wma.h"
 
-#undef NDEBUG
-#include <assert.h>
-
 #define EXPVLCBITS 8
 #define EXPMAX     ((19 + EXPVLCBITS - 1) / EXPVLCBITS)
 
index 0ba1d98aa61eb4fc70d8e1c244fcdafaf532beaa..4ba465bcc74999c24135e1511bf24a363e6fb3d2 100644 (file)
@@ -16,7 +16,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "libavutil/avassert.h"
 #include "libavutil/buffer.h"
 #include "libavutil/hwcontext.h"
 #include "libavutil/log.h"
index cddd2a6b2ae3e4ac370cde8143fdaeb98a9e9fec..d9015470fabe6f4b74c796e59eda5f49331d123d 100644 (file)
@@ -33,7 +33,6 @@
 #include "libavutil/eval.h"
 #include "libavutil/pixdesc.h"
 #include "libavutil/colorspace.h"
-#include "libavutil/avassert.h"
 #include "libavutil/imgutils.h"
 #include "libavutil/parseutils.h"
 #include "libavutil/mathematics.h"
index e3320e9b6954217fbc35b28b1bc6c0b3ba2554c1..f2323748310610f5af44c1df5d5fc4c07966b891 100644 (file)
@@ -20,7 +20,6 @@
  */
 
 #include "libavutil/attributes.h"
-#include "libavutil/avassert.h"
 #include "libavutil/avstring.h"
 #include "libavutil/bswap.h"
 #include "libavutil/common.h"
index 9d271f89747f4ecffef801fa71311de824bb3617..ac6ff5d565fd3f7e63a7eba4353aebf3060bdc81 100644 (file)
@@ -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 {
index b792a3b58e76c9e71b4791c7d0223fcbf5e878c0..84a57c180ed25c1a29092bb9e5b38728bd27ec90 100644 (file)
@@ -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" },
index f405c4e8012fcec5205203d6f9e6573dad32281e..39374b69b6131b5d3d9c75e652a2cea341ccfc9c 100644 (file)
@@ -23,9 +23,6 @@
 #include "internal.h"
 #include "mpeg.h"
 
-#undef NDEBUG
-#include <assert.h>
-
 /*********************************************/
 /* demux code */
 
index 76662ee0338e742dcdde2e0c8882b98c256bd5bb..c967ad6b964e411033ff33680dbb03221febb0ab 100644 (file)
@@ -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"
index 93473e7dd74fde859c78399afcb04aea630900e6..9b90251e9b57bf6eb4e2fd45b0702702d5de3683 100644 (file)
@@ -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;
index 1466f0a2fc03a4f23ccd27977d51c2fbb99f7391..c06411e2346aac711201d942324948f0f1c04692 100644 (file)
@@ -18,7 +18,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include <assert.h>
 #include <math.h>
 #include <stdint.h>
 #include <stdio.h>
index a2ace788e502b6fe1f575ce76b16978f244191d8..622469adb9ebc8a96c528871b40ea00601e3103d 100644 (file)
@@ -89,7 +89,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <inttypes.h>
-#include <assert.h>
 
 #include "config.h"
 #include "libswscale/rgb2rgb.h"
index bacc87f6c721b425b858e182dfa9aea820707a2b..68d3bc2fe78c5c3ec900a9a50ee15906ba11f833 100644 (file)
@@ -27,7 +27,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <inttypes.h>
-#include <assert.h>
 
 #include "config.h"
 #include "libswscale/rgb2rgb.h"
index 3fe1087cf6bea8367965d50ace1103e7e29170d8..1afdd4d6bce8bfa9aa1acc5a028ee32d8e309953 100644 (file)
@@ -22,7 +22,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <inttypes.h>
-#include <assert.h>
 #include <math.h>
 #include <float.h>