From 951fb44e4a3f2b8df529f2f3c76f67c7548b9f94 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sun, 4 Jan 2004 17:33:32 +0000 Subject: this->warned is not used anywhere, so it can go CVS patchset: 5990 CVS date: 2004/01/04 17:33:32 --- src/demuxers/demux_mpeg_block.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/demuxers/demux_mpeg_block.c b/src/demuxers/demux_mpeg_block.c index 6b26aa106..795d2c3eb 100644 --- a/src/demuxers/demux_mpeg_block.c +++ b/src/demuxers/demux_mpeg_block.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_mpeg_block.c,v 1.203 2003/12/05 15:54:57 f1rmb Exp $ + * $Id: demux_mpeg_block.c,v 1.204 2004/01/04 17:33:32 mroi Exp $ * * demultiplexer for mpeg 1/2 program streams * used with fixed blocksize devices (like dvd/vcd) @@ -70,8 +70,6 @@ typedef struct demux_mpeg_block_s { int blocksize; int rate; - int warned; /* encryption warning */ - char cur_mrl[256]; uint8_t *scratch, *scratch_base; @@ -244,15 +242,6 @@ static void demux_mpeg_block_parse_pack (demux_mpeg_block_t *this, int preview_m * Because we would like to handle these two cases differently. */ buf->free_buffer (buf); -#if 0 - this->warned++; - if (this->warned > 5) { - xine_log (this->stream->xine, XINE_LOG_MSG, - _("demux_mpeg_block: too many errors, stopping playback. Maybe this stream is scrambled?\n")); - this->status = DEMUX_FINISHED; - } -#endif - return; } -- cgit v1.2.3