Browse Source

Drop pointless assert.h #includes

tags/n3.1
Diego Biurrun 9 years ago
parent
commit
0f40c90984
25 changed files with 3 additions and 51 deletions
  1. +0
    -1
      avconv_vdpau.c
  2. +0
    -1
      libavcodec/ac3dsp.c
  3. +1
    -1
      libavcodec/ffv1.c
  4. +0
    -1
      libavcodec/h264.c
  5. +1
    -1
      libavcodec/libopusdec.c
  6. +0
    -4
      libavcodec/libschroedingerdec.c
  7. +0
    -2
      libavcodec/mjpegenc.c
  8. +0
    -3
      libavcodec/qdm2.c
  9. +0
    -3
      libavcodec/svq1dec.c
  10. +0
    -3
      libavcodec/vc1.c
  11. +1
    -5
      libavcodec/vdpau.c
  12. +0
    -3
      libavcodec/wma.c
  13. +0
    -3
      libavcodec/wmadec.c
  14. +0
    -1
      libavfilter/vf_hwdownload.c
  15. +0
    -1
      libavfilter/vf_pad.c
  16. +0
    -1
      libavformat/asfdec.c
  17. +0
    -3
      libavformat/mov.c
  18. +0
    -3
      libavformat/movenc.c
  19. +0
    -3
      libavformat/mpeg.c
  20. +0
    -1
      libavformat/mux.c
  21. +0
    -3
      libavformat/swf.h
  22. +0
    -1
      libswscale/output.c
  23. +0
    -1
      libswscale/ppc/yuv2rgb_altivec.c
  24. +0
    -1
      libswscale/x86/yuv2rgb.c
  25. +0
    -1
      tests/tiny_psnr.c

+ 0
- 1
avconv_vdpau.c View File

@@ -27,7 +27,6 @@


#include "libavcodec/vdpau.h" #include "libavcodec/vdpau.h"


#include "libavutil/avassert.h"
#include "libavutil/buffer.h" #include "libavutil/buffer.h"
#include "libavutil/frame.h" #include "libavutil/frame.h"
#include "libavutil/hwcontext.h" #include "libavutil/hwcontext.h"


+ 0
- 1
libavcodec/ac3dsp.c View File

@@ -19,7 +19,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */


#include "libavutil/avassert.h"
#include "avcodec.h" #include "avcodec.h"
#include "ac3.h" #include "ac3.h"
#include "ac3dsp.h" #include "ac3dsp.h"


+ 1
- 1
libavcodec/ffv1.c View File

@@ -26,7 +26,7 @@
*/ */


#include "libavutil/attributes.h" #include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "avcodec.h" #include "avcodec.h"
#include "get_bits.h" #include "get_bits.h"
#include "put_bits.h" #include "put_bits.h"


+ 0
- 1
libavcodec/h264.c View File

@@ -25,7 +25,6 @@
* @author Michael Niedermayer <michaelni@gmx.at> * @author Michael Niedermayer <michaelni@gmx.at>
*/ */


#include "libavutil/avassert.h"
#include "libavutil/display.h" #include "libavutil/display.h"
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"


+ 1
- 1
libavcodec/libopusdec.c View File

@@ -22,8 +22,8 @@
#include <opus.h> #include <opus.h>
#include <opus_multistream.h> #include <opus_multistream.h>


#include "libavutil/avassert.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"

#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"
#include "vorbis.h" #include "vorbis.h"


+ 0
- 4
libavcodec/libschroedingerdec.c View File

@@ -37,10 +37,6 @@
#include "internal.h" #include "internal.h"
#include "libschroedinger.h" #include "libschroedinger.h"


#undef NDEBUG
#include <assert.h>


#include <schroedinger/schro.h> #include <schroedinger/schro.h>
#include <schroedinger/schrodebug.h> #include <schroedinger/schrodebug.h>
#include <schroedinger/schrovideoformat.h> #include <schroedinger/schrovideoformat.h>


+ 0
- 2
libavcodec/mjpegenc.c View File

@@ -30,8 +30,6 @@
* MJPEG encoder. * MJPEG encoder.
*/ */


#include <assert.h>

#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"


#include "avcodec.h" #include "avcodec.h"


+ 0
- 3
libavcodec/qdm2.c View File

@@ -47,9 +47,6 @@
#include "qdm2data.h" #include "qdm2data.h"
#include "qdm2_tablegen.h" #include "qdm2_tablegen.h"


#undef NDEBUG
#include <assert.h>



#define QDM2_LIST_ADD(list, size, packet) \ #define QDM2_LIST_ADD(list, size, packet) \
do { \ do { \


+ 0
- 3
libavcodec/svq1dec.c View File

@@ -40,9 +40,6 @@
#include "mathops.h" #include "mathops.h"
#include "svq1.h" #include "svq1.h"


#undef NDEBUG
#include <assert.h>

static VLC svq1_block_type; static VLC svq1_block_type;
static VLC svq1_motion_component; static VLC svq1_motion_component;
static VLC svq1_intra_multistage[6]; static VLC svq1_intra_multistage[6];


+ 0
- 3
libavcodec/vc1.c View File

@@ -36,9 +36,6 @@
#include "unary.h" #include "unary.h"
#include "simple_idct.h" #include "simple_idct.h"


#undef NDEBUG
#include <assert.h>

/***********************************************************************/ /***********************************************************************/
/** /**
* @name VC-1 Bitplane decoding * @name VC-1 Bitplane decoding


+ 1
- 5
libavcodec/vdpau.c View File

@@ -22,15 +22,11 @@
*/ */


#include <limits.h> #include <limits.h>
#include "libavutil/avassert.h"
#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"
#include "h264.h" #include "h264.h"
#include "vc1.h" #include "vc1.h"

#undef NDEBUG
#include <assert.h>

#include "vdpau.h" #include "vdpau.h"
#include "vdpau_internal.h" #include "vdpau_internal.h"




+ 0
- 3
libavcodec/wma.c View File

@@ -29,9 +29,6 @@
#include "wma_freqs.h" #include "wma_freqs.h"
#include "wmadata.h" #include "wmadata.h"


#undef NDEBUG
#include <assert.h>

/* XXX: use same run/length optimization as mpeg decoders */ /* XXX: use same run/length optimization as mpeg decoders */
// FIXME maybe split decode / encode or pass flag // FIXME maybe split decode / encode or pass flag
static av_cold int init_coef_vlc(VLC *vlc, uint16_t **prun_table, static av_cold int init_coef_vlc(VLC *vlc, uint16_t **prun_table,


+ 0
- 3
libavcodec/wmadec.c View File

@@ -39,9 +39,6 @@
#include "internal.h" #include "internal.h"
#include "wma.h" #include "wma.h"


#undef NDEBUG
#include <assert.h>

#define EXPVLCBITS 8 #define EXPVLCBITS 8
#define EXPMAX ((19 + EXPVLCBITS - 1) / EXPVLCBITS) #define EXPMAX ((19 + EXPVLCBITS - 1) / EXPVLCBITS)




+ 0
- 1
libavfilter/vf_hwdownload.c View File

@@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */


#include "libavutil/avassert.h"
#include "libavutil/buffer.h" #include "libavutil/buffer.h"
#include "libavutil/hwcontext.h" #include "libavutil/hwcontext.h"
#include "libavutil/log.h" #include "libavutil/log.h"


+ 0
- 1
libavfilter/vf_pad.c View File

@@ -33,7 +33,6 @@
#include "libavutil/eval.h" #include "libavutil/eval.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
#include "libavutil/colorspace.h" #include "libavutil/colorspace.h"
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "libavutil/parseutils.h" #include "libavutil/parseutils.h"
#include "libavutil/mathematics.h" #include "libavutil/mathematics.h"


+ 0
- 1
libavformat/asfdec.c View File

@@ -20,7 +20,6 @@
*/ */


#include "libavutil/attributes.h" #include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/bswap.h" #include "libavutil/bswap.h"
#include "libavutil/common.h" #include "libavutil/common.h"


+ 0
- 3
libavformat/mov.c View File

@@ -54,9 +54,6 @@
#include "qtpalette.h" #include "qtpalette.h"




#undef NDEBUG
#include <assert.h>

/* those functions parse an atom */ /* those functions parse an atom */
/* links atom IDs to parse functions */ /* links atom IDs to parse functions */
typedef struct MOVParseTableEntry { typedef struct MOVParseTableEntry {


+ 0
- 3
libavformat/movenc.c View File

@@ -44,9 +44,6 @@
#include "rtpenc.h" #include "rtpenc.h"
#include "mov_chan.h" #include "mov_chan.h"


#undef NDEBUG
#include <assert.h>

static const AVOption options[] = { 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" }, { "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" }, { "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" },


+ 0
- 3
libavformat/mpeg.c View File

@@ -23,9 +23,6 @@
#include "internal.h" #include "internal.h"
#include "mpeg.h" #include "mpeg.h"


#undef NDEBUG
#include <assert.h>

/*********************************************/ /*********************************************/
/* demux code */ /* demux code */




+ 0
- 1
libavformat/mux.c View File

@@ -29,7 +29,6 @@
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
#include "metadata.h" #include "metadata.h"
#include "id3v2.h" #include "id3v2.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/internal.h" #include "libavutil/internal.h"
#include "libavutil/mathematics.h" #include "libavutil/mathematics.h"


+ 0
- 3
libavformat/swf.h View File

@@ -67,9 +67,6 @@
#define VIDEO_ID 0 #define VIDEO_ID 0
#define SHAPE_ID 1 #define SHAPE_ID 1


#undef NDEBUG
#include <assert.h>

typedef struct SWFContext { typedef struct SWFContext {
int64_t duration_pos; int64_t duration_pos;
int64_t tag_pos; int64_t tag_pos;


+ 0
- 1
libswscale/output.c View File

@@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */


#include <assert.h>
#include <math.h> #include <math.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>


+ 0
- 1
libswscale/ppc/yuv2rgb_altivec.c View File

@@ -89,7 +89,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <inttypes.h> #include <inttypes.h>
#include <assert.h>


#include "config.h" #include "config.h"
#include "libswscale/rgb2rgb.h" #include "libswscale/rgb2rgb.h"


+ 0
- 1
libswscale/x86/yuv2rgb.c View File

@@ -27,7 +27,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <inttypes.h> #include <inttypes.h>
#include <assert.h>


#include "config.h" #include "config.h"
#include "libswscale/rgb2rgb.h" #include "libswscale/rgb2rgb.h"


+ 0
- 1
tests/tiny_psnr.c View File

@@ -22,7 +22,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <inttypes.h> #include <inttypes.h>
#include <assert.h>
#include <math.h> #include <math.h>
#include <float.h> #include <float.h>




Loading…
Cancel
Save