... | ... |
@@ -1760,7 +1760,7 @@ static int http_parse_request(HTTPContext *c) |
1760 | 1760 |
} |
1761 | 1761 |
} |
1762 | 1762 |
|
1763 |
-#ifdef DEBUG_WMP |
|
1763 |
+#ifdef DEBUG |
|
1764 | 1764 |
http_log("\nGot request:\n%s\n", c->buffer); |
1765 | 1765 |
#endif |
1766 | 1766 |
|
... | ... |
@@ -1790,7 +1790,7 @@ static int http_parse_request(HTTPContext *c) |
1790 | 1790 |
return 0; |
1791 | 1791 |
} |
1792 | 1792 |
|
1793 |
-#ifdef DEBUG_WMP |
|
1793 |
+#ifdef DEBUG |
|
1794 | 1794 |
if (strcmp(stream->filename + strlen(stream->filename) - 4, ".asf") == 0) |
1795 | 1795 |
http_log("\nGot request:\n%s\n", c->buffer); |
1796 | 1796 |
#endif |
... | ... |
@@ -66,7 +66,6 @@ |
66 | 66 |
|
67 | 67 |
#define SUBBAND_SIZE 20 |
68 | 68 |
#define MAX_SUBPACKETS 5 |
69 |
-//#define COOKDEBUG |
|
70 | 69 |
|
71 | 70 |
typedef struct { |
72 | 71 |
int *now; |
... | ... |
@@ -1005,7 +1004,7 @@ static int cook_decode_frame(AVCodecContext *avctx, |
1005 | 1005 |
return avctx->block_align; |
1006 | 1006 |
} |
1007 | 1007 |
|
1008 |
-#ifdef COOKDEBUG |
|
1008 |
+#ifdef DEBUG |
|
1009 | 1009 |
static void dump_cook_context(COOKContext *q) |
1010 | 1010 |
{ |
1011 | 1011 |
//int i=0; |
... | ... |
@@ -1247,7 +1246,7 @@ static av_cold int cook_decode_init(AVCodecContext *avctx) |
1247 | 1247 |
else |
1248 | 1248 |
avctx->channel_layout = (avctx->channels==2) ? AV_CH_LAYOUT_STEREO : AV_CH_LAYOUT_MONO; |
1249 | 1249 |
|
1250 |
-#ifdef COOKDEBUG |
|
1250 |
+#ifdef DEBUG |
|
1251 | 1251 |
dump_cook_context(q); |
1252 | 1252 |
#endif |
1253 | 1253 |
return 0; |
... | ... |
@@ -629,7 +629,7 @@ static int decode_band(IVI5DecContext *ctx, int plane_num, |
629 | 629 |
FFSWAP(int16_t, band->rv_map->valtab[idx1], band->rv_map->valtab[idx2]); |
630 | 630 |
} |
631 | 631 |
|
632 |
-#if IVI_DEBUG |
|
632 |
+#ifdef DEBUG |
|
633 | 633 |
if (band->checksum_present) { |
634 | 634 |
uint16_t chksum = ivi_calc_band_checksum(band); |
635 | 635 |
if (chksum != band->checksum) { |
... | ... |
@@ -33,7 +33,6 @@ |
33 | 33 |
*/ |
34 | 34 |
|
35 | 35 |
|
36 |
-//#define DEBUG_SVQ1 |
|
37 | 36 |
#include "avcodec.h" |
38 | 37 |
#include "dsputil.h" |
39 | 38 |
#include "mpegvideo.h" |
... | ... |
@@ -705,9 +704,7 @@ static int svq1_decode_frame(AVCodecContext *avctx, |
705 | 705 |
result = svq1_decode_block_intra (&s->gb, ¤t[x], linesize); |
706 | 706 |
if (result != 0) |
707 | 707 |
{ |
708 |
-//#ifdef DEBUG_SVQ1 |
|
709 | 708 |
av_log(s->avctx, AV_LOG_INFO, "Error in svq1_decode_block %i (keyframe)\n",result); |
710 |
-//#endif |
|
711 | 709 |
goto err; |
712 | 710 |
} |
713 | 711 |
} |
... | ... |
@@ -20,9 +20,6 @@ |
20 | 20 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
21 | 21 |
*/ |
22 | 22 |
|
23 |
-#undef V_DEBUG |
|
24 |
-//#define V_DEBUG |
|
25 |
- |
|
26 | 23 |
#define ALT_BITSTREAM_READER_LE |
27 | 24 |
#include "avcodec.h" |
28 | 25 |
#include "get_bits.h" |
... | ... |
@@ -57,7 +54,7 @@ int ff_vorbis_len2vlc(uint8_t *bits, uint32_t *codes, unsigned num) |
57 | 57 |
|
58 | 58 |
unsigned i, j, p, code; |
59 | 59 |
|
60 |
-#ifdef V_DEBUG |
|
60 |
+#ifdef DEBUG |
|
61 | 61 |
GetBitContext gb; |
62 | 62 |
#endif |
63 | 63 |
|
... | ... |
@@ -74,7 +71,7 @@ int ff_vorbis_len2vlc(uint8_t *bits, uint32_t *codes, unsigned num) |
74 | 74 |
for (i = 0; i < bits[p]; ++i) |
75 | 75 |
exit_at_level[i+1] = 1 << i; |
76 | 76 |
|
77 |
-#ifdef V_DEBUG |
|
77 |
+#ifdef DEBUG |
|
78 | 78 |
av_log(NULL, AV_LOG_INFO, " %u. of %u code len %d code %d - ", p, num, bits[p], codes[p]); |
79 | 79 |
init_get_bits(&gb, (uint8_t *)&codes[p], bits[p]); |
80 | 80 |
for (i = 0; i < bits[p]; ++i) |
... | ... |
@@ -102,7 +99,7 @@ int ff_vorbis_len2vlc(uint8_t *bits, uint32_t *codes, unsigned num) |
102 | 102 |
exit_at_level[j] = code + (1 << (j - 1)); |
103 | 103 |
codes[p] = code; |
104 | 104 |
|
105 |
-#ifdef V_DEBUG |
|
105 |
+#ifdef DEBUG |
|
106 | 106 |
av_log(NULL, AV_LOG_INFO, " %d. code len %d code %d - ", p, bits[p], codes[p]); |
107 | 107 |
init_get_bits(&gb, (uint8_t *)&codes[p], bits[p]); |
108 | 108 |
for (i = 0; i < bits[p]; ++i) |
... | ... |
@@ -26,8 +26,6 @@ |
26 | 26 |
#include <windows.h> |
27 | 27 |
#include <vfw.h> |
28 | 28 |
|
29 |
-//#define DEBUG_VFW |
|
30 |
- |
|
31 | 29 |
/* Defines for VFW missing from MinGW. |
32 | 30 |
* Remove this when MinGW incorporates them. */ |
33 | 31 |
#define HWND_MESSAGE ((HWND)-3) |
... | ... |
@@ -122,7 +120,7 @@ static void dump_captureparms(AVFormatContext *s, CAPTUREPARMS *cparms) |
122 | 122 |
|
123 | 123 |
static void dump_videohdr(AVFormatContext *s, VIDEOHDR *vhdr) |
124 | 124 |
{ |
125 |
-#ifdef DEBUG_VFW |
|
125 |
+#ifdef DEBUG |
|
126 | 126 |
av_log(s, AV_LOG_DEBUG, "VIDEOHDR\n"); |
127 | 127 |
dstruct(s, vhdr, lpData, "p"); |
128 | 128 |
dstruct(s, vhdr, dwBufferLength, "lu"); |
... | ... |
@@ -26,8 +26,6 @@ |
26 | 26 |
#include "avformat.h" |
27 | 27 |
#include "apetag.h" |
28 | 28 |
|
29 |
-#define ENABLE_DEBUG 0 |
|
30 |
- |
|
31 | 29 |
/* The earliest and latest file formats supported by this library */ |
32 | 30 |
#define APE_MIN_VERSION 3950 |
33 | 31 |
#define APE_MAX_VERSION 3990 |
... | ... |
@@ -96,7 +94,7 @@ static int ape_probe(AVProbeData * p) |
96 | 96 |
|
97 | 97 |
static void ape_dumpinfo(AVFormatContext * s, APEContext * ape_ctx) |
98 | 98 |
{ |
99 |
-#if ENABLE_DEBUG |
|
99 |
+#ifdef DEBUG |
|
100 | 100 |
int i; |
101 | 101 |
|
102 | 102 |
av_log(s, AV_LOG_DEBUG, "Descriptor Block:\n\n"); |
... | ... |
@@ -45,7 +45,6 @@ |
45 | 45 |
#include "url.h" |
46 | 46 |
|
47 | 47 |
//#define DEBUG |
48 |
-//#define DEBUG_RTP_TCP |
|
49 | 48 |
|
50 | 49 |
/* Timeout values for socket poll, in ms, |
51 | 50 |
* and read_packet(), in seconds */ |
... | ... |
@@ -860,9 +859,7 @@ int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply, |
860 | 860 |
q = buf; |
861 | 861 |
for (;;) { |
862 | 862 |
ret = ffurl_read_complete(rt->rtsp_hd, &ch, 1); |
863 |
-#ifdef DEBUG_RTP_TCP |
|
864 | 863 |
av_dlog(s, "ret=%d c=%02x [%c]\n", ret, ch, ch); |
865 |
-#endif |
|
866 | 864 |
if (ret != 1) |
867 | 865 |
return AVERROR_EOF; |
868 | 866 |
if (ch == '\n') |