diff options
author | Andre Pang <athp@users.sourceforge.net> | 2004-12-12 06:55:58 +0000 |
---|---|---|
committer | Andre Pang <athp@users.sourceforge.net> | 2004-12-12 06:55:58 +0000 |
commit | 1de00c1f9d0f1eba90be53b8dd9635b79b68dc2a (patch) | |
tree | 057da9b98c78a90e2a4446ab56e413c1479ae5ac /src/demuxers/demux_ogg.c | |
parent | f5e91a956b0df782bbdfb23beb319846ca2ebe4f (diff) | |
download | xine-lib-1de00c1f9d0f1eba90be53b8dd9635b79b68dc2a.tar.gz xine-lib-1de00c1f9d0f1eba90be53b8dd9635b79b68dc2a.tar.bz2 |
Code cleanups and elimination of some compiler warnings; patch courtesy of AL13N
CVS patchset: 7230
CVS date: 2004/12/12 06:55:58
Diffstat (limited to 'src/demuxers/demux_ogg.c')
-rw-r--r-- | src/demuxers/demux_ogg.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/demuxers/demux_ogg.c b/src/demuxers/demux_ogg.c index 0d922c2af..cc3dd0706 100644 --- a/src/demuxers/demux_ogg.c +++ b/src/demuxers/demux_ogg.c @@ -19,7 +19,7 @@ */ /* - * $Id: demux_ogg.c,v 1.156 2004/12/03 04:11:42 conrad Exp $ + * $Id: demux_ogg.c,v 1.157 2004/12/12 06:55:58 athp Exp $ * * demultiplexer for ogg streams * @@ -717,7 +717,8 @@ static void send_ogg_buf (demux_ogg_t *this, buf->size = 12 + op->bytes + 1; - lprintf ("CMML stream %d: PTS %d: %s\n", stream_num, buf->pts, str); + lprintf ("CMML stream %d (bytes=%d): PTS %d: %s\n", + stream_num, op->bytes, buf->pts, str); this->video_fifo->put (this->video_fifo, buf); @@ -818,7 +819,7 @@ static void decode_speex_header (demux_ogg_t *this, const int stream_num, ogg_pa if (header) { int bitrate; - mode = speex_mode_list[header->mode]; + mode = (SpeexMode *) speex_mode_list[header->mode]; st = speex_decoder_init (mode); |