[FFmpeg-trac] #169(avformat:closed): IFF 8SVX stereo files (with FIB/EXP compression) decodes incorrectly
FFmpeg
trac at avcodec.org
Tue May 17 01:14:22 CEST 2011
#169: IFF 8SVX stereo files (with FIB/EXP compression) decodes incorrectly
-----------------------+-----------------------
Reporter: ami_stuff | Owner:
Type: defect | Status: closed
Priority: normal | Component: avformat
Version: git-master | Resolution: fixed
Keywords: | Blocked By:
Blocking: | Reproduced: 1
Analyzed: 1 |
-----------------------+-----------------------
Changes (by saste):
* status: open => closed
* resolution: => fixed
Comment:
Fixed in commit:
commit e280a4da2ae6fd44f0079358ecc5aa08e388a5ed
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date: Sun May 15 13:24:46 2011 +0200
iff/8svx: redesign 8SVX demuxing and decoding for handling stereo
samples correctly
Make the iff demuxer send the whole audio chunk to the decoder as a
single packet, move stereo interleaving from the iff demuxer to the
decoder, and introduce an 8svx_raw decoder which performs
stereo interleaving.
This is required for handling stereo data correctly, indeed samples
are stored like:
LLLLLL....RRRRRR
that is all left samples are at the beginning of the chunk, all right
samples at the end, so it is necessary to store and process the whole
buffer in order to decode each frame. Thus the decoder needs all the
audio chunk before it can return interleaved data.
Fix decoding of files 8svx_exp.iff and 8svx_fib.iff, fix trac issue
#169.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/169#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list