diff options
author | Mike Melanson <mike@multimedia.cx> | 2006-09-11 05:55:49 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2006-09-11 05:55:49 +0000 |
commit | 8e328c9cb12bb37175d0ecffd6fa2fa29a288b81 (patch) | |
tree | a60dc83e5890c870f79c0e8dee8c2ff7fb8a8bc7 /src | |
parent | 7bea3749ab64e9431a66cdc766d0a52b1e224378 (diff) | |
download | xine-lib-8e328c9cb12bb37175d0ecffd6fa2fa29a288b81.tar.gz xine-lib-8e328c9cb12bb37175d0ecffd6fa2fa29a288b81.tar.bz2 |
handle stereo data that is only 8 bits in resolution
CVS patchset: 8218
CVS date: 2006/09/11 05:55:49
Diffstat (limited to 'src')
-rw-r--r-- | src/demuxers/demux_film.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/demux_film.c b/src/demuxers/demux_film.c index 9d3ed3f0e..e5d175cec 100644 --- a/src/demuxers/demux_film.c +++ b/src/demuxers/demux_film.c @@ -21,7 +21,7 @@ * For more information on the FILM file format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: demux_film.c,v 1.79 2005/11/28 12:24:57 valtri Exp $ + * $Id: demux_film.c,v 1.80 2006/09/11 05:55:49 tmmm Exp $ */ #ifdef HAVE_CONFIG_H @@ -635,12 +635,12 @@ static int demux_film_send_chunk(demux_plugin_t *this_gen) { interleave_index += buf->size / 2; } else { for (j = 0, k = interleave_index; j < buf->size; j += 2, k += 1) { - buf->content[j] = this->interleave_buffer[k]; + buf->content[j] = this->interleave_buffer[k] += 0x80; } for (j = 1, k = interleave_index + this->sample_table[i].sample_size / 2; j < buf->size; j += 2, k += 1) { - buf->content[j] = this->interleave_buffer[k]; + buf->content[j] = this->interleave_buffer[k] += 0x80; } interleave_index += buf->size / 2; } |