# HG changeset patch # User michael # Date 1214520319 0 # Node ID 00117506638298ad895bea2fbd7b8f607c662142 # Parent 1e93578232d635c8e0c159710dfc2a5fc9d3872f Remove debugging trash. diff -r 1e93578232d6 -r 001175066382 psxstr.c --- a/psxstr.c Thu Jun 26 22:43:18 2008 +0000 +++ b/psxstr.c Thu Jun 26 22:45:19 2008 +0000 @@ -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 @@ 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 @@ 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 @@ 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 @@ 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; }