From d0b76b98c4fde9ae773cc50b6fe50563e448dade Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 26 Jun 2008 22:45:19 +0000 Subject: Remove debugging trash. Originally committed as revision 13999 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/psxstr.c | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'libavformat/psxstr.c') diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c index d426cd7399..707674fd4a 100644 --- a/libavformat/psxstr.c +++ b/libavformat/psxstr.c @@ -31,8 +31,6 @@ #include "avformat.h" -//#define PRINTSTUFF - #define RIFF_TAG MKTAG('R', 'I', 'F', 'F') #define CDXA_TAG MKTAG('C', 'D', 'X', 'A') @@ -91,19 +89,6 @@ static int str_probe(AVProbeData *p) return 50; } -#if 0 -static void dump(unsigned char *buf,size_t len) -{ - int i; - for(i=0;i= 32) return AVERROR_INVALIDDATA; @@ -240,7 +223,6 @@ static int str_read_packet(AVFormatContext *s, return AVERROR_INVALIDDATA; } -// printf("%d %d %d\n",current_sector,sector_count,frame_size); /* if this is the first sector of the frame, allocate a pkt */ pkt = &str->channels[channel].tmp_pkt; @@ -272,10 +254,6 @@ static int str_read_packet(AVFormatContext *s, break; case CDXA_TYPE_AUDIO: -#ifdef PRINTSTUFF -printf (" dropping audio sector\n"); -#endif -#if 1 pkt = ret_pkt; if (av_new_packet(pkt, 2304)) return AVERROR(EIO); @@ -284,13 +262,9 @@ printf (" dropping audio sector\n"); pkt->stream_index = str->channels[channel].audio_stream_index; return 0; -#endif break; default: /* drop the sector and move on */ -#ifdef PRINTSTUFF -printf (" dropping other sector\n"); -#endif break; } -- cgit v1.2.3