History

Remove commented-out debug #define cruft

Diego Biurrun committed 13 years ago

Commit 2832ea21 parent ff4fc5e43 files · +0 −103Browse files

Unified · Split

43 files
  1. libavcodec/4xm.c +0 −3
  2. libavcodec/ac3enc.c +0 −2
  3. libavcodec/alsdec.c +0 −4
  4. libavcodec/asvdec.c +0 −3
  5. libavcodec/dnxhddec.c +0 −3
  6. libavcodec/dnxhdenc.c +0 −1
  7. libavcodec/dsputil.h +0 −3
  8. libavcodec/dvdsubdec.c +0 −2
  9. libavcodec/gifdec.c +0 −2
  10. libavcodec/h263.c +0 −3
  11. libavcodec/h263dec.c +0 −2
  12. libavcodec/ituh263dec.c +0 −4
  13. libavcodec/ituh263enc.c +0 −4
  14. libavcodec/mpeg12.c +0 −4
  15. libavcodec/mpeg12dec.c +0 −4
  16. libavcodec/mpegaudiodecheader.c +0 −1
  17. libavcodec/mpegvideo.c +0 −6
  18. libavcodec/mpegvideo_enc.c +0 −5
  19. libavcodec/msmpeg4.c +0 −1
  20. libavcodec/pngdec.c +0 −2
  21. libavcodec/pngenc.c +0 −2
  22. libavcodec/rv10.c +0 −2
  23. libavcodec/rv34.c +0 −2
  24. libavcodec/tta.c +0 −1
  25. libavdevice/fbdev.c +0 −2
  26. libavfilter/avfilter.c +0 −2
  27. libavfilter/setpts.c +0 −2
  28. libavfilter/vf_crop.c +0 −2
  29. libavfilter/vf_fieldorder.c +0 −2
  30. libavfilter/vf_frei0r.c +0 −2
  31. libavfilter/vf_libopencv.c +0 −2
  32. libavfilter/vsrc_movie.c +0 −2
  33. libavformat/asfdec.c +0 −2
  34. libavformat/isom.c +0 −2
  35. libavformat/mov.c +0 −1
  36. libavformat/mux.c +0 −2
  37. libavformat/mxfdec.c +0 −2
  38. libavformat/mxfenc.c +0 −2
  39. libavformat/r3d.c +0 −2
  40. libavformat/rtmpproto.c +0 −2
  41. libavformat/rtpenc.c +0 −2
  42. libavformat/rtsp.c +0 −2
  43. libavformat/utils.c +0 −2
libavcodec/4xm.c+0−3
@@ -32,9 +32,6 @@ · 31 unmodified lines
32#include "get_bits.h"32#include "get_bits.h"
33#include "internal.h"33#include "internal.h"
34 34
35//#undef NDEBUG
36//#include <assert.h>
37
38#define BLOCK_TYPE_VLC_BITS 535#define BLOCK_TYPE_VLC_BITS 5
39#define ACDC_VLC_BITS 936#define ACDC_VLC_BITS 9
40 37
libavcodec/ac3enc.c+0−2
@@ -26,8 +26,6 @@ · 25 unmodified lines
26 * The simplest AC-3 encoder.26 * The simplest AC-3 encoder.
27 */27 */
28 28
29//#define ASSERT_LEVEL 2
30
31#include <stdint.h>29#include <stdint.h>
32 30
33#include "libavutil/attributes.h"31#include "libavutil/attributes.h"
libavcodec/alsdec.c+0−4
@@ -25,10 +25,6 @@ · 24 unmodified lines
25 * @author Thilo Borgmann <thilo.borgmann _at_ googlemail.com>25 * @author Thilo Borgmann <thilo.borgmann _at_ googlemail.com>
26 */26 */
27 27
28
29//#define DEBUG
30
31
32#include "avcodec.h"28#include "avcodec.h"
33#include "get_bits.h"29#include "get_bits.h"
34#include "unary.h"30#include "unary.h"
libavcodec/asvdec.c+0−3
@@ -33,9 +33,6 @@ · 32 unmodified lines
33#include "mathops.h"33#include "mathops.h"
34#include "mpeg12data.h"34#include "mpeg12data.h"
35 35
36//#undef NDEBUG
37//#include <assert.h>
38
39#define VLC_BITS 636#define VLC_BITS 6
40#define ASV2_LEVEL_VLC_BITS 1037#define ASV2_LEVEL_VLC_BITS 10
41 38
libavcodec/dnxhddec.c+0−3
@@ -22,9 +22,6 @@ · 21 unmodified lines
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 */23 */
24 24
25//#define TRACE
26//#define DEBUG
27
28#include "libavutil/imgutils.h"25#include "libavutil/imgutils.h"
29#include "avcodec.h"26#include "avcodec.h"
30#include "get_bits.h"27#include "get_bits.h"
libavcodec/dnxhdenc.c+0−1
@@ -23,7 +23,6 @@ · 22 unmodified lines
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 */24 */
25 25
26//#define DEBUG
27#define RC_VARIANCE 1 // use variance or ssd for fast rc26#define RC_VARIANCE 1 // use variance or ssd for fast rc
28 27
29#include "libavutil/attributes.h"28#include "libavutil/attributes.h"
libavcodec/dsputil.h+0−3
@@ -34,9 +34,6 @@ · 33 unmodified lines
34#include "avcodec.h"34#include "avcodec.h"
35#include "rnd_avg.h"35#include "rnd_avg.h"
36 36
37
38//#define DEBUG
39
40/* encoding scans */37/* encoding scans */
41extern const uint8_t ff_alternate_horizontal_scan[64];38extern const uint8_t ff_alternate_horizontal_scan[64];
42extern const uint8_t ff_alternate_vertical_scan[64];39extern const uint8_t ff_alternate_vertical_scan[64];
libavcodec/dvdsubdec.c+0−2
@@ -26,8 +26,6 @@ · 25 unmodified lines
26#include "libavutil/imgutils.h"26#include "libavutil/imgutils.h"
27#include "libavutil/avstring.h"27#include "libavutil/avstring.h"
28 28
29//#define DEBUG
30
31typedef struct DVDSubContext {29typedef struct DVDSubContext {
32 uint32_t palette[16];30 uint32_t palette[16];
33 int has_palette;31 int has_palette;
libavcodec/gifdec.c+0−2
@@ -20,8 +20,6 @@ · 19 unmodified lines
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */21 */
22 22
23//#define DEBUG
24
25#include "libavutil/imgutils.h"23#include "libavutil/imgutils.h"
26#include "avcodec.h"24#include "avcodec.h"
27#include "bytestream.h"25#include "bytestream.h"
libavcodec/h263.c+0−3
@@ -27,7 +27,6 @@ · 26 unmodified lines
27 * h263/mpeg4 codec.27 * h263/mpeg4 codec.
28 */28 */
29 29
30//#define DEBUG
31#include <limits.h>30#include <limits.h>
32 31
33#include "avcodec.h"32#include "avcodec.h"
@@ -39,8 +38,6 @@ · 5 unmodified lines
39#include "flv.h"38#include "flv.h"
40#include "mpeg4video.h"39#include "mpeg4video.h"
41 40
42//#undef NDEBUG
43//#include <assert.h>
44 41
45uint8_t ff_h263_static_rl_table_store[2][2][2*MAX_RUN + MAX_LEVEL + 3];42uint8_t ff_h263_static_rl_table_store[2][2][2*MAX_RUN + MAX_LEVEL + 3];
46 43
libavcodec/h263dec.c+0−2
@@ -39,8 +39,6 @@ · 38 unmodified lines
39#include "flv.h"39#include "flv.h"
40#include "mpeg4video.h"40#include "mpeg4video.h"
41 41
42//#define DEBUG
43
44av_cold int ff_h263_decode_init(AVCodecContext *avctx)42av_cold int ff_h263_decode_init(AVCodecContext *avctx)
45{43{
46 MpegEncContext *s = avctx->priv_data;44 MpegEncContext *s = avctx->priv_data;
libavcodec/ituh263dec.c+0−4
@@ -27,7 +27,6 @@ · 26 unmodified lines
27 * h263 decoder.27 * h263 decoder.
28 */28 */
29 29
30//#define DEBUG
31#include <limits.h>30#include <limits.h>
32 31
33#include "libavutil/attributes.h"32#include "libavutil/attributes.h"
@@ -41,9 +40,6 @@ · 7 unmodified lines
41#include "flv.h"40#include "flv.h"
42#include "mpeg4video.h"41#include "mpeg4video.h"
43 42
44//#undef NDEBUG
45//#include <assert.h>
46
47// The defines below define the number of bits that are read at once for43// The defines below define the number of bits that are read at once for
48// reading vlc values. Changing these may improve speed and data cache needs44// reading vlc values. Changing these may improve speed and data cache needs
49// be aware though that decreasing them may need the number of stages that is45// be aware though that decreasing them may need the number of stages that is
libavcodec/ituh263enc.c+0−4
@@ -27,7 +27,6 @@ · 26 unmodified lines
27 * h263 bitstream encoder.27 * h263 bitstream encoder.
28 */28 */
29 29
30//#define DEBUG
31#include <limits.h>30#include <limits.h>
32 31
33#include "libavutil/attributes.h"32#include "libavutil/attributes.h"
@@ -40,9 +39,6 @@ · 6 unmodified lines
40#include "mpeg4video.h"39#include "mpeg4video.h"
41#include "internal.h"40#include "internal.h"
42 41
43//#undef NDEBUG
44//#include <assert.h>
45
46/**42/**
47 * Table of number of bits a motion vector component needs.43 * Table of number of bits a motion vector component needs.
48 */44 */
libavcodec/mpeg12.c+0−4
@@ -25,7 +25,6 @@ · 24 unmodified lines
25 * MPEG-1/2 decoder25 * MPEG-1/2 decoder
26 */26 */
27 27
28//#define DEBUG
29#include "libavutil/attributes.h"28#include "libavutil/attributes.h"
30#include "internal.h"29#include "internal.h"
31#include "avcodec.h"30#include "avcodec.h"
@@ -40,9 +39,6 @@ · 8 unmodified lines
40#include "xvmc_internal.h"39#include "xvmc_internal.h"
41#include "thread.h"40#include "thread.h"
42 41
43//#undef NDEBUG
44//#include <assert.h>
45
46uint8_t ff_mpeg12_static_rl_table_store[2][2][2*MAX_RUN + MAX_LEVEL + 3];42uint8_t ff_mpeg12_static_rl_table_store[2][2][2*MAX_RUN + MAX_LEVEL + 3];
47 43
48#define INIT_2D_VLC_RL(rl, static_size)\44#define INIT_2D_VLC_RL(rl, static_size)\
libavcodec/mpeg12dec.c+0−4
@@ -25,7 +25,6 @@ · 24 unmodified lines
25 * MPEG-1/2 decoder25 * MPEG-1/2 decoder
26 */26 */
27 27
28//#define DEBUG
29#include "libavutil/attributes.h"28#include "libavutil/attributes.h"
30#include "libavutil/internal.h"29#include "libavutil/internal.h"
31#include "internal.h"30#include "internal.h"
@@ -41,9 +40,6 @@ · 9 unmodified lines
41#include "xvmc_internal.h"40#include "xvmc_internal.h"
42#include "thread.h"41#include "thread.h"
43 42
44//#undef NDEBUG
45//#include <assert.h>
46
47typedef struct Mpeg1Context {43typedef struct Mpeg1Context {
48 MpegEncContext mpeg_enc_ctx;44 MpegEncContext mpeg_enc_ctx;
49 int mpeg_enc_ctx_allocated; /* true if decoding context allocated */45 int mpeg_enc_ctx_allocated; /* true if decoding context allocated */
libavcodec/mpegaudiodecheader.c+0−1
@@ -24,7 +24,6 @@ · 23 unmodified lines
24 * MPEG Audio header decoder.24 * MPEG Audio header decoder.
25 */25 */
26 26
27//#define DEBUG
28#include "avcodec.h"27#include "avcodec.h"
29#include "mpegaudio.h"28#include "mpegaudio.h"
30#include "mpegaudiodata.h"29#include "mpegaudiodata.h"
libavcodec/mpegvideo.c+0−6
@@ -41,9 +41,6 @@ · 40 unmodified lines
41#include "thread.h"41#include "thread.h"
42#include <limits.h>42#include <limits.h>
43 43
44//#undef NDEBUG
45//#include <assert.h>
46
47static void dct_unquantize_mpeg1_intra_c(MpegEncContext *s,44static void dct_unquantize_mpeg1_intra_c(MpegEncContext *s,
48 int16_t *block, int n, int qscale);45 int16_t *block, int n, int qscale);
49static void dct_unquantize_mpeg1_inter_c(MpegEncContext *s,46static void dct_unquantize_mpeg1_inter_c(MpegEncContext *s,
@@ -59,9 +56,6 @@ static void dct_unquantize_h263_intra_c(MpegEncContext *s, · 9 unmodified lines
59static void dct_unquantize_h263_inter_c(MpegEncContext *s,56static void dct_unquantize_h263_inter_c(MpegEncContext *s,
60 int16_t *block, int n, int qscale);57 int16_t *block, int n, int qscale);
61 58
62//#define DEBUG
63
64
65static const uint8_t ff_default_chroma_qscale_table[32] = {59static const uint8_t ff_default_chroma_qscale_table[32] = {
66// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1560// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
67 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,61 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
libavcodec/mpegvideo_enc.c+0−5
@@ -51,17 +51,12 @@ · 50 unmodified lines
51#include "bytestream.h"51#include "bytestream.h"
52#include <limits.h>52#include <limits.h>
53 53
54//#undef NDEBUG
55//#include <assert.h>
56
57static int encode_picture(MpegEncContext *s, int picture_number);54static int encode_picture(MpegEncContext *s, int picture_number);
58static int dct_quantize_refine(MpegEncContext *s, int16_t *block, int16_t *weight, int16_t *orig, int n, int qscale);55static int dct_quantize_refine(MpegEncContext *s, int16_t *block, int16_t *weight, int16_t *orig, int n, int qscale);
59static int sse_mb(MpegEncContext *s);56static int sse_mb(MpegEncContext *s);
60static void denoise_dct_c(MpegEncContext *s, int16_t *block);57static void denoise_dct_c(MpegEncContext *s, int16_t *block);
61static int dct_quantize_trellis_c(MpegEncContext *s, int16_t *block, int n, int qscale, int *overflow);58static int dct_quantize_trellis_c(MpegEncContext *s, int16_t *block, int n, int qscale, int *overflow);
62 59
63//#define DEBUG
64
65static uint8_t default_mv_penalty[MAX_FCODE + 1][MAX_MV * 2 + 1];60static uint8_t default_mv_penalty[MAX_FCODE + 1][MAX_MV * 2 + 1];
66static uint8_t default_fcode_tab[MAX_MV * 2 + 1];61static uint8_t default_fcode_tab[MAX_MV * 2 + 1];
67 62
libavcodec/msmpeg4.c+0−1
@@ -44,7 +44,6 @@ · 43 unmodified lines
44 * - (encoding) select best mv table (two choices)44 * - (encoding) select best mv table (two choices)
45 * - (encoding) select best vlc/dc table45 * - (encoding) select best vlc/dc table
46 */46 */
47//#define DEBUG
48 47
49/* This table is practically identical to the one from h26348/* This table is practically identical to the one from h263
50 * except that it is inverted. */49 * except that it is inverted. */
libavcodec/pngdec.c+0−2
@@ -31,8 +31,6 @@ · 30 unmodified lines
31 31
32#include <zlib.h>32#include <zlib.h>
33 33
34//#define DEBUG
35
36typedef struct PNGDecContext {34typedef struct PNGDecContext {
37 PNGDSPContext dsp;35 PNGDSPContext dsp;
38 36
libavcodec/pngenc.c+0−2
@@ -29,8 +29,6 @@ · 28 unmodified lines
29 29
30#include <zlib.h>30#include <zlib.h>
31 31
32//#define DEBUG
33
34#define IOBUF_SIZE 409632#define IOBUF_SIZE 4096
35 33
36typedef struct PNGEncContext {34typedef struct PNGEncContext {
libavcodec/rv10.c+0−2
@@ -32,8 +32,6 @@ · 31 unmodified lines
32#include "mpeg4video.h"32#include "mpeg4video.h"
33#include "h263.h"33#include "h263.h"
34 34
35//#define DEBUG
36
37#define RV_GET_MAJOR_VER(x) ((x) >> 28)35#define RV_GET_MAJOR_VER(x) ((x) >> 28)
38#define RV_GET_MINOR_VER(x) (((x) >> 20) & 0xFF)36#define RV_GET_MINOR_VER(x) (((x) >> 20) & 0xFF)
39#define RV_GET_MICRO_VER(x) (((x) >> 12) & 0xFF)37#define RV_GET_MICRO_VER(x) (((x) >> 12) & 0xFF)
libavcodec/rv34.c+0−2
@@ -39,8 +39,6 @@ · 38 unmodified lines
39#include "rv34data.h"39#include "rv34data.h"
40#include "rv34.h"40#include "rv34.h"
41 41
42//#define DEBUG
43
44static inline void ZERO8x2(void* dst, int stride)42static inline void ZERO8x2(void* dst, int stride)
45{43{
46 fill_rectangle(dst, 1, 2, stride, 0, 4);44 fill_rectangle(dst, 1, 2, stride, 0, 4);
libavcodec/tta.c+0−1
@@ -28,7 +28,6 @@ · 27 unmodified lines
28 */28 */
29 29
30#define BITSTREAM_READER_LE30#define BITSTREAM_READER_LE
31//#define DEBUG
32#include <limits.h>31#include <limits.h>
33#include "avcodec.h"32#include "avcodec.h"
34#include "get_bits.h"33#include "get_bits.h"
libavdevice/fbdev.c+0−2
@@ -27,8 +27,6 @@ · 26 unmodified lines
27 * @see http://linux-fbdev.sourceforge.net/27 * @see http://linux-fbdev.sourceforge.net/
28 */28 */
29 29
30/* #define DEBUG */
31
32#include <unistd.h>30#include <unistd.h>
33#include <fcntl.h>31#include <fcntl.h>
34#include <sys/ioctl.h>32#include <sys/ioctl.h>
libavfilter/avfilter.c+0−2
@@ -19,8 +19,6 @@ · 18 unmodified lines
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */20 */
21 21
22/* #define DEBUG */
23
24#include "libavutil/avstring.h"22#include "libavutil/avstring.h"
25#include "libavutil/channel_layout.h"23#include "libavutil/channel_layout.h"
26#include "libavutil/common.h"24#include "libavutil/common.h"
libavfilter/setpts.c+0−2
@@ -24,8 +24,6 @@ · 23 unmodified lines
24 * video presentation timestamp (PTS) modification filter24 * video presentation timestamp (PTS) modification filter
25 */25 */
26 26
27/* #define DEBUG */
28
29#include "libavutil/eval.h"27#include "libavutil/eval.h"
30#include "libavutil/internal.h"28#include "libavutil/internal.h"
31#include "libavutil/mathematics.h"29#include "libavutil/mathematics.h"
libavfilter/vf_crop.c+0−2
@@ -23,8 +23,6 @@ · 22 unmodified lines
23 * video crop filter23 * video crop filter
24 */24 */
25 25
26/* #define DEBUG */
27
28#include <stdio.h>26#include <stdio.h>
29 27
30#include "avfilter.h"28#include "avfilter.h"
libavfilter/vf_fieldorder.c+0−2
@@ -23,8 +23,6 @@ · 22 unmodified lines
23 * video field order filter, heavily influenced by vf_pad.c23 * video field order filter, heavily influenced by vf_pad.c
24 */24 */
25 25
26/* #define DEBUG */
27
28#include <stdio.h>26#include <stdio.h>
29#include <string.h>27#include <string.h>
30 28
libavfilter/vf_frei0r.c+0−2
@@ -22,8 +22,6 @@ · 21 unmodified lines
22 * frei0r wrapper22 * frei0r wrapper
23 */23 */
24 24
25/* #define DEBUG */
26
27#include <dlfcn.h>25#include <dlfcn.h>
28#include <frei0r.h>26#include <frei0r.h>
29#include <stdio.h>27#include <stdio.h>
libavfilter/vf_libopencv.c+0−2
@@ -23,8 +23,6 @@ · 22 unmodified lines
23 * libopencv wrapper functions23 * libopencv wrapper functions
24 */24 */
25 25
26/* #define DEBUG */
27
28#include <opencv/cv.h>26#include <opencv/cv.h>
29#include <opencv/cxcore.h>27#include <opencv/cxcore.h>
30#include "libavutil/avstring.h"28#include "libavutil/avstring.h"
libavfilter/vsrc_movie.c+0−2
@@ -28,8 +28,6 @@ · 27 unmodified lines
28 * @todo support more than one output stream28 * @todo support more than one output stream
29 */29 */
30 30
31/* #define DEBUG */
32
33#include <float.h>31#include <float.h>
34 32
35#include "libavutil/attributes.h"33#include "libavutil/attributes.h"
libavformat/asfdec.c+0−2
@@ -19,8 +19,6 @@ · 18 unmodified lines
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */20 */
21 21
22//#define DEBUG
23
24#include "libavutil/attributes.h"22#include "libavutil/attributes.h"
25#include "libavutil/avassert.h"23#include "libavutil/avassert.h"
26#include "libavutil/avstring.h"24#include "libavutil/avstring.h"
libavformat/isom.c+0−2
@@ -21,8 +21,6 @@ · 20 unmodified lines
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 */22 */
23 23
24//#define DEBUG
25
26#include "avformat.h"24#include "avformat.h"
27#include "internal.h"25#include "internal.h"
28#include "isom.h"26#include "isom.h"
libavformat/mov.c+0−1
@@ -25,7 +25,6 @@ · 24 unmodified lines
25 25
26#include <limits.h>26#include <limits.h>
27 27
28//#define DEBUG
29//#define MOV_EXPORT_ALL_METADATA28//#define MOV_EXPORT_ALL_METADATA
30 29
31#include "libavutil/attributes.h"30#include "libavutil/attributes.h"
libavformat/mux.c+0−2
@@ -19,8 +19,6 @@ · 18 unmodified lines
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */20 */
21 21
22/* #define DEBUG */
23
24#include "avformat.h"22#include "avformat.h"
25#include "avio_internal.h"23#include "avio_internal.h"
26#include "internal.h"24#include "internal.h"
libavformat/mxfdec.c+0−2
@@ -43,8 +43,6 @@ · 42 unmodified lines
43 * Only tracks with associated descriptors will be decoded. "Highly Desirable" SMPTE 377M D.143 * Only tracks with associated descriptors will be decoded. "Highly Desirable" SMPTE 377M D.1
44 */44 */
45 45
46//#define DEBUG
47
48#include "libavutil/aes.h"46#include "libavutil/aes.h"
49#include "libavutil/mathematics.h"47#include "libavutil/mathematics.h"
50#include "libavcodec/bytestream.h"48#include "libavcodec/bytestream.h"
libavformat/mxfenc.c+0−2
@@ -30,8 +30,6 @@ · 29 unmodified lines
30 * SMPTE RP224: Registry of SMPTE Universal Labels30 * SMPTE RP224: Registry of SMPTE Universal Labels
31 */31 */
32 32
33//#define DEBUG
34
35#include <inttypes.h>33#include <inttypes.h>
36#include <math.h>34#include <math.h>
37#include <time.h>35#include <time.h>
libavformat/r3d.c+0−2
@@ -19,8 +19,6 @@ · 18 unmodified lines
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */20 */
21 21
22//#define DEBUG
23
24#include "libavutil/intreadwrite.h"22#include "libavutil/intreadwrite.h"
25#include "libavutil/dict.h"23#include "libavutil/dict.h"
26#include "libavutil/mathematics.h"24#include "libavutil/mathematics.h"
libavformat/rtmpproto.c+0−2
@@ -48,8 +48,6 @@ · 47 unmodified lines
48#include <zlib.h>48#include <zlib.h>
49#endif49#endif
50 50
51//#define DEBUG
52
53#define APP_MAX_LENGTH 12851#define APP_MAX_LENGTH 128
54#define PLAYPATH_MAX_LENGTH 25652#define PLAYPATH_MAX_LENGTH 256
55#define TCURL_MAX_LENGTH 51253#define TCURL_MAX_LENGTH 512
libavformat/rtpenc.c+0−2
@@ -28,8 +28,6 @@ · 27 unmodified lines
28 28
29#include "rtpenc.h"29#include "rtpenc.h"
30 30
31//#define DEBUG
32
33static const AVOption options[] = {31static const AVOption options[] = {
34 FF_RTP_FLAG_OPTS(RTPMuxContext, flags),32 FF_RTP_FLAG_OPTS(RTPMuxContext, flags),
35 { "payload_type", "Specify RTP payload type", offsetof(RTPMuxContext, payload_type), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, 127, AV_OPT_FLAG_ENCODING_PARAM },33 { "payload_type", "Specify RTP payload type", offsetof(RTPMuxContext, payload_type), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, 127, AV_OPT_FLAG_ENCODING_PARAM },
libavformat/rtsp.c+0−2
@@ -48,8 +48,6 @@ · 47 unmodified lines
48#include "rtpenc.h"48#include "rtpenc.h"
49#include "mpegts.h"49#include "mpegts.h"
50 50
51//#define DEBUG
52
53/* Timeout values for socket poll, in ms,51/* Timeout values for socket poll, in ms,
54 * and read_packet(), in seconds */52 * and read_packet(), in seconds */
55#define POLL_TIMEOUT_MS 10053#define POLL_TIMEOUT_MS 100
libavformat/utils.c+0−2
@@ -19,8 +19,6 @@ · 18 unmodified lines
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */20 */
21 21
22/* #define DEBUG */
23
24#include "avformat.h"22#include "avformat.h"
25#include "avio_internal.h"23#include "avio_internal.h"
26#include "internal.h"24#include "internal.h"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t