diff options
author | Thibaut Mattern <tmattern@users.sourceforge.net> | 2003-10-30 00:49:07 +0000 |
---|---|---|
committer | Thibaut Mattern <tmattern@users.sourceforge.net> | 2003-10-30 00:49:07 +0000 |
commit | 23aee9ab6c893f508e31e1a62466264c64df232b (patch) | |
tree | 8464b24ebfbc4a171fcf2cc07d2db9c13d0eaf53 /src/demuxers/demux_idcin.c | |
parent | 69e11ccd286181b6191454d59cf772c0034aa239 (diff) | |
download | xine-lib-23aee9ab6c893f508e31e1a62466264c64df232b.tar.gz xine-lib-23aee9ab6c893f508e31e1a62466264c64df232b.tar.bz2 |
use info_helper functions.
CVS patchset: 5638
CVS date: 2003/10/30 00:49:07
Diffstat (limited to 'src/demuxers/demux_idcin.c')
-rw-r--r-- | src/demuxers/demux_idcin.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/demuxers/demux_idcin.c b/src/demuxers/demux_idcin.c index 2fa723d11..c539d4a4a 100644 --- a/src/demuxers/demux_idcin.c +++ b/src/demuxers/demux_idcin.c @@ -65,7 +65,7 @@ * - if any bytes exceed 63, do not shift the bytes at all before * transmitting them to the video decoder * - * $Id: demux_idcin.c,v 1.44 2003/10/24 02:57:58 tmmm Exp $ + * $Id: demux_idcin.c,v 1.45 2003/10/30 00:49:07 tmattern Exp $ */ #ifdef HAVE_CONFIG_H @@ -334,19 +334,19 @@ static int open_idcin_file(demux_idcin_t *this) { return 0; /* load stream information */ - this->stream->stream_info[XINE_STREAM_INFO_HAS_VIDEO] = 1; - this->stream->stream_info[XINE_STREAM_INFO_HAS_AUDIO] = - (this->wave.nChannels) ? 1 : 0; - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_WIDTH] = - bih->biWidth; - this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HEIGHT] = - bih->biHeight; - this->stream->stream_info[XINE_STREAM_INFO_AUDIO_CHANNELS] = - this->wave.nChannels; - this->stream->stream_info[XINE_STREAM_INFO_AUDIO_SAMPLERATE] = - this->wave.nSamplesPerSec; - this->stream->stream_info[XINE_STREAM_INFO_AUDIO_BITS] = - this->wave.wBitsPerSample; + xine_set_stream_info(this->stream, XINE_STREAM_INFO_HAS_VIDEO, 1); + xine_set_stream_info(this->stream, XINE_STREAM_INFO_HAS_AUDIO, + (this->wave.nChannels) ? 1 : 0); + xine_set_stream_info(this->stream, XINE_STREAM_INFO_VIDEO_WIDTH, + bih->biWidth); + xine_set_stream_info(this->stream, XINE_STREAM_INFO_VIDEO_HEIGHT, + bih->biHeight); + xine_set_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_CHANNELS, + this->wave.nChannels); + xine_set_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_SAMPLERATE, + this->wave.nSamplesPerSec); + xine_set_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_BITS, + this->wave.wBitsPerSample); this->filesize = this->input->get_length(this->input) - IDCIN_HEADER_SIZE - HUFFMAN_TABLE_SIZE; |