ffmpeg.git
8 years agoatrac1: fix a typo
Justin Ruggles [Fri, 14 Oct 2011 04:30:42 +0000 (00:30 -0400)]
atrac1: fix a typo

8 years agoatrac1: validate number of channels
Justin Ruggles [Fri, 14 Oct 2011 04:24:50 +0000 (00:24 -0400)]
atrac1: validate number of channels

8 years agoatrac1: decode mono audio directly to output buffer
Justin Ruggles [Fri, 14 Oct 2011 04:22:01 +0000 (00:22 -0400)]
atrac1: decode mono audio directly to output buffer

For stereo we need to use intermediate planar buffers, but mono does not need
to be deinterleaved so the output buffer can be used directly.

8 years agoatrac1: check output buffer size before decoding
Justin Ruggles [Fri, 14 Oct 2011 04:16:31 +0000 (00:16 -0400)]
atrac1: check output buffer size before decoding

8 years agocook: return AVERROR_PATCHWELCOME instead of ENOTSUP
Justin Ruggles [Sat, 29 Oct 2011 18:31:11 +0000 (14:31 -0400)]
cook: return AVERROR_PATCHWELCOME instead of ENOTSUP

ENOTSUP is not defined on some systems

8 years agocook: check output buffer size before decoding
Justin Ruggles [Thu, 27 Oct 2011 01:11:13 +0000 (21:11 -0400)]
cook: check output buffer size before decoding

8 years agocook: do not needlessly set *data_size to 0
Justin Ruggles [Thu, 27 Oct 2011 01:08:57 +0000 (21:08 -0400)]
cook: do not needlessly set *data_size to 0

8 years agocook: remove pointless return statements
Justin Ruggles [Thu, 27 Oct 2011 01:03:49 +0000 (21:03 -0400)]
cook: remove pointless return statements

8 years agocook: simplify decouple_info()
Justin Ruggles [Thu, 27 Oct 2011 00:59:14 +0000 (20:59 -0400)]
cook: simplify decouple_info()

8 years agocook: return appropriate error codes instead of -1
Justin Ruggles [Thu, 27 Oct 2011 00:46:36 +0000 (20:46 -0400)]
cook: return appropriate error codes instead of -1

8 years agocook: avoid hardcoded sizes in sizeof()
Justin Ruggles [Thu, 27 Oct 2011 00:42:02 +0000 (20:42 -0400)]
cook: avoid hardcoded sizes in sizeof()

8 years agocook: remove unneeded #includes
Justin Ruggles [Wed, 26 Oct 2011 22:36:08 +0000 (18:36 -0400)]
cook: remove unneeded #includes

8 years agocook: output float samples instead of converting to int16
Justin Ruggles [Wed, 26 Oct 2011 22:30:22 +0000 (18:30 -0400)]
cook: output float samples instead of converting to int16

8 years agomov: Avoid divide by zero in edit list dts handling
Benjamin Larsson [Sat, 29 Oct 2011 10:57:10 +0000 (12:57 +0200)]
mov: Avoid divide by zero in edit list dts handling

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoutvideo: account for coupled lines in YUV420 format
Kostya Shishkov [Fri, 28 Oct 2011 18:40:23 +0000 (20:40 +0200)]
utvideo: account for coupled lines in YUV420 format

Luma slices in YUV420 colourspace should have height in multiple of two since
they have the same line of chrominance data corresponding to pair of them.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agovp3: fix oob read for negative tokens and memleaks on error.
Ronald S. Bultje [Sat, 29 Oct 2011 06:50:04 +0000 (23:50 -0700)]
vp3: fix oob read for negative tokens and memleaks on error.

8 years agovp8: fix overflow in segmentation map caching.
Ronald S. Bultje [Sat, 29 Oct 2011 06:48:43 +0000 (23:48 -0700)]
vp8: fix overflow in segmentation map caching.

8 years agolavf: use number of output pictures for delay checks.
Ronald S. Bultje [Fri, 28 Oct 2011 03:37:34 +0000 (20:37 -0700)]
lavf: use number of output pictures for delay checks.

This fixes false positives of has_codec_delay_been_guessed() for
streams where not every input picture generates an output picture,
such as interlaced H264.

8 years agoFix decoding of lossless 4:2:2 H.264
Anton Mitrofanov [Fri, 28 Oct 2011 19:33:23 +0000 (23:33 +0400)]
Fix decoding of lossless 4:2:2 H.264

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoFix decoding of lossless 10-bit 4:4:4 H.264
Anton Mitrofanov [Fri, 28 Oct 2011 15:13:13 +0000 (19:13 +0400)]
Fix decoding of lossless 10-bit 4:4:4 H.264

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoprobe: Restore identification of files with very large id3 tags and no extension.
Alex Converse [Wed, 26 Oct 2011 01:37:24 +0000 (18:37 -0700)]
probe: Restore identification of files with very large id3 tags and no extension.

Restore behavior of identifying files with huge id3 tags as
mp3 at AVPROBE_SCORE_MAX/4. This was broken in r25378 and subsequently
removed in r25929.

8 years agoprobe: Remove id3 tag presence as a criteria to do file extension checking.
Alex Converse [Wed, 26 Oct 2011 01:26:35 +0000 (18:26 -0700)]
probe: Remove id3 tag presence as a criteria to do file extension checking.

This only encourages our users to put id3v2 tags on non-mp3 files to opt
into extension based probing.

8 years agompegts: MP4 SL support
Alex Converse [Tue, 11 Oct 2011 21:49:59 +0000 (14:49 -0700)]
mpegts: MP4 SL support

8 years agompegts: MP4 OD support
Alex Converse [Mon, 10 Oct 2011 19:50:00 +0000 (12:50 -0700)]
mpegts: MP4 OD support

8 years agompegts: Add support for Sections in PMT
Alex Converse [Thu, 6 Oct 2011 01:24:17 +0000 (18:24 -0700)]
mpegts: Add support for Sections in PMT

8 years agompegts: Replace the MP4 descriptor parser with a recursive parser.
Alex Converse [Wed, 5 Oct 2011 18:04:42 +0000 (11:04 -0700)]
mpegts: Replace the MP4 descriptor parser with a recursive parser.

8 years agompegts: Add support for multiple mp4 descriptors
Alex Converse [Wed, 5 Oct 2011 06:43:59 +0000 (23:43 -0700)]
mpegts: Add support for multiple mp4 descriptors

8 years agompegts: Parse mpeg2 SL descriptors.
Alex Converse [Wed, 5 Oct 2011 01:24:22 +0000 (18:24 -0700)]
mpegts: Parse mpeg2 SL descriptors.

8 years agoisom: Add MPEG4SYSTEMS dummy object type indication.
Alex Converse [Wed, 5 Oct 2011 17:59:15 +0000 (10:59 -0700)]
isom: Add MPEG4SYSTEMS dummy object type indication.

8 years agoaacdec: allow output reconfiguration on channel changes
Michael Niedermayer [Fri, 21 Oct 2011 09:41:35 +0000 (09:41 +0000)]
aacdec: allow output reconfiguration on channel changes

Locking the decoder against channel config changes in
parse_adts_frame_header() seems to be unnecessary and
streams with channel config changes are reported.

The sample in http://roundup.libav.org/issue999 still works.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
8 years agonellymoserenc: take float input samples instead of int16
Justin Ruggles [Mon, 24 Oct 2011 12:44:24 +0000 (08:44 -0400)]
nellymoserenc: take float input samples instead of int16

This avoids having to convert all input data from int16 to float, which is used
internally for encoding.

8 years agonellymoserdec: use dsp functions for overlap and windowing
Justin Ruggles [Fri, 28 Oct 2011 18:15:25 +0000 (14:15 -0400)]
nellymoserdec: use dsp functions for overlap and windowing

8 years agonellymoserdec: do not fail if there is extra data in the packet
Justin Ruggles [Mon, 17 Oct 2011 14:24:47 +0000 (10:24 -0400)]
nellymoserdec: do not fail if there is extra data in the packet

instead just print a warning

8 years agonellymoserdec: fail if output buffer is too small
Justin Ruggles [Mon, 17 Oct 2011 14:22:46 +0000 (10:22 -0400)]
nellymoserdec: fail if output buffer is too small

avoids silently truncating the output

8 years agonellymoserdec: remove pointless buffer size check.
Justin Ruggles [Mon, 17 Oct 2011 14:09:52 +0000 (10:09 -0400)]
nellymoserdec: remove pointless buffer size check.

8 years agolavf: add init_put_byte() to the list of visible symbols.
Anton Khirnov [Fri, 28 Oct 2011 17:53:55 +0000 (19:53 +0200)]
lavf: add init_put_byte() to the list of visible symbols.

8 years agoseek-test: free options dictionary after use
Janne Grunau [Fri, 28 Oct 2011 17:22:27 +0000 (19:22 +0200)]
seek-test: free options dictionary after use

8 years agosnow: do not draw_edge if emu_edge is set
Michael Niedermayer [Wed, 26 Oct 2011 13:47:14 +0000 (15:47 +0200)]
snow: do not draw_edge if emu_edge is set

Fix segfault on emu edge, to reproduce

make fate-vsynth1-snow
avplay -flags emu_edge tests/data/vsynth1/snow.avi

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years agotools/pktdumper: update to recent avformat api
Janne Grunau [Fri, 28 Oct 2011 16:36:54 +0000 (18:36 +0200)]
tools/pktdumper: update to recent avformat api

8 years agoseek-test: update to recent avformat api
Janne Grunau [Fri, 28 Oct 2011 16:32:51 +0000 (18:32 +0200)]
seek-test: update to recent avformat api

8 years agowmavoice: move output buffer size check to synth_superframe().
Justin Ruggles [Sun, 25 Sep 2011 00:13:56 +0000 (20:13 -0400)]
wmavoice: move output buffer size check to synth_superframe().

this allows for checking against the actual output size instead of max size.

8 years agowmavoice: only set data_size to 0 when necessary
Justin Ruggles [Sun, 25 Sep 2011 00:11:34 +0000 (20:11 -0400)]
wmavoice: only set data_size to 0 when necessary

8 years agowmapro: fix strict-aliasing violations by using av_alias32
Justin Ruggles [Sat, 24 Sep 2011 04:50:22 +0000 (00:50 -0400)]
wmapro: fix strict-aliasing violations by using av_alias32

Also fix some undefined unsigned/signed conversions.

8 years agowmapro: use FmtConvertContext.float_interleave() to interleave output samples
Justin Ruggles [Sat, 24 Sep 2011 04:34:37 +0000 (00:34 -0400)]
wmapro: use FmtConvertContext.float_interleave() to interleave output samples

8 years agowmadec: consolidate 2 output buffer size checks into 1 check
Justin Ruggles [Sat, 24 Sep 2011 03:38:36 +0000 (23:38 -0400)]
wmadec: consolidate 2 output buffer size checks into 1 check

8 years agoapedec: assert that s->samples is not negative before trying to decode
Justin Ruggles [Tue, 11 Oct 2011 18:38:21 +0000 (14:38 -0400)]
apedec: assert that s->samples is not negative before trying to decode

8 years agoapedec: use FFALIGN macro for internal data buffer size
Justin Ruggles [Tue, 11 Oct 2011 18:35:33 +0000 (14:35 -0400)]
apedec: use FFALIGN macro for internal data buffer size

8 years agoapedec: do not keep incrementing the input data pointer past the end of the
Justin Ruggles [Tue, 11 Oct 2011 18:12:54 +0000 (14:12 -0400)]
apedec: do not keep incrementing the input data pointer past the end of the
buffer during entropy decoding.

The pointer address could overflow, which would likely segfault. Instead set
the context error flag to indicate that the decoder tried to read past the
end of the packet data.

8 years agoapedec: check for input buffer overflow while reading frame header
Justin Ruggles [Tue, 11 Oct 2011 18:06:52 +0000 (14:06 -0400)]
apedec: check for input buffer overflow while reading frame header

8 years agoapedec: use unsigned int for offset
Justin Ruggles [Tue, 11 Oct 2011 17:34:18 +0000 (13:34 -0400)]
apedec: use unsigned int for offset

avoids implementation-defined unsigned-to-signed conversion and simplifies
the bounds checking.

8 years agoapedec: remove pointless increment of 'buf'
Justin Ruggles [Tue, 11 Oct 2011 17:25:48 +0000 (13:25 -0400)]
apedec: remove pointless increment of 'buf'

The variable is not used anymore at that point.

8 years agoapedec: set s->currentframeblocks after validating nblocks
Justin Ruggles [Tue, 11 Oct 2011 17:25:27 +0000 (13:25 -0400)]
apedec: set s->currentframeblocks after validating nblocks

8 years agoapedec: use unsigned int for 'nblocks' and make sure that it's within int range
Justin Ruggles [Tue, 11 Oct 2011 17:17:44 +0000 (13:17 -0400)]
apedec: use unsigned int for 'nblocks' and make sure that it's within int range

8 years agoapedec: do not set s->samples until after validation.
Justin Ruggles [Tue, 11 Oct 2011 16:49:46 +0000 (12:49 -0400)]
apedec: do not set s->samples until after validation.

This prevents errors and/or invalid writes in the next decode call due to
s->samples still being negative.

8 years agoapedec: check for data buffer realloc failure
Justin Ruggles [Tue, 11 Oct 2011 16:47:11 +0000 (12:47 -0400)]
apedec: check for data buffer realloc failure

8 years agoapedec: return meaningful error values in ape_decode_frame()
Justin Ruggles [Tue, 11 Oct 2011 15:55:56 +0000 (11:55 -0400)]
apedec: return meaningful error values in ape_decode_frame()

8 years agoapedec: correct an error message
Justin Ruggles [Tue, 11 Oct 2011 15:54:42 +0000 (11:54 -0400)]
apedec: correct an error message

8 years agoapedec: cosmetics
Justin Ruggles [Tue, 11 Oct 2011 15:53:17 +0000 (11:53 -0400)]
apedec: cosmetics

break some excessively long lines and remove space after '*'

8 years agoapedec: return meaningful error codes from ape_decode_init()
Justin Ruggles [Tue, 11 Oct 2011 15:48:39 +0000 (11:48 -0400)]
apedec: return meaningful error codes from ape_decode_init()

8 years agoapedec: check for filter buffer allocation failure
Justin Ruggles [Tue, 11 Oct 2011 15:47:15 +0000 (11:47 -0400)]
apedec: check for filter buffer allocation failure

8 years agoapedec: use memcpy for pseudo-stereo mode
Justin Ruggles [Tue, 11 Oct 2011 15:37:55 +0000 (11:37 -0400)]
apedec: use memcpy for pseudo-stereo mode

8 years agoapedec: remove unneeded check for zero-size packet.
Justin Ruggles [Mon, 10 Oct 2011 19:54:36 +0000 (15:54 -0400)]
apedec: remove unneeded check for zero-size packet.

This is already checked by avcodec_decode_audio3().

8 years agolavf: move private fields in AVStream to the end at next bump.
Anton Khirnov [Wed, 19 Oct 2011 18:00:09 +0000 (20:00 +0200)]
lavf: move private fields in AVStream to the end at next bump.

8 years agolavf: move private fields in AVFormatContext to the end at next bump.
Anton Khirnov [Wed, 19 Oct 2011 18:00:09 +0000 (20:00 +0200)]
lavf: move private fields in AVFormatContext to the end at next bump.

8 years agolavf: make some seeking functions private
Anton Khirnov [Sun, 16 Oct 2011 13:03:30 +0000 (15:03 +0200)]
lavf: make some seeking functions private

Specifically av_update_cur_dts(), av_seek_frame_binary() and
av_gen_search().

They are not supposed to be called outside lavf.

8 years agomp3on4: do not needlessly set data_size to 0
Justin Ruggles [Tue, 25 Oct 2011 16:46:57 +0000 (12:46 -0400)]
mp3on4: do not needlessly set data_size to 0

8 years agomp3adu: return error instead of just consuming bad packets
Justin Ruggles [Tue, 25 Oct 2011 16:45:39 +0000 (12:45 -0400)]
mp3adu: return error instead of just consuming bad packets

8 years agompegaudiodec: check output data size based on avctx->frame_size
Justin Ruggles [Tue, 27 Sep 2011 18:27:43 +0000 (14:27 -0400)]
mpegaudiodec: check output data size based on avctx->frame_size

8 years agoavcodec: remove avcodec_parse_frame and deprecate associated elements.
Justin Ruggles [Tue, 27 Sep 2011 17:54:25 +0000 (13:54 -0400)]
avcodec: remove avcodec_parse_frame and deprecate associated elements.

The documentation for CODEC_CAP_PARSE_ONLY and AVCodecContext.parse_only
indicates that they are utilized through avcodec_parse_frame(), which was
never actually implemented.

8 years agompegaudiodec: cosmetics: basic pretty-printing
Justin Ruggles [Tue, 27 Sep 2011 17:15:24 +0000 (13:15 -0400)]
mpegaudiodec: cosmetics: basic pretty-printing

8 years agompegaudiodec: remove frame_count field from MPADecodeContext.
Justin Ruggles [Tue, 27 Sep 2011 16:02:30 +0000 (12:02 -0400)]
mpegaudiodec: remove frame_count field from MPADecodeContext.

Its functionality was removed several years ago, so it doesn't do anything.
AVCodecContext.frame_number could serve the same purpose if someone
wants to debug the frame count.

8 years agompegaudiodec: return AVERROR return codes instead of -1
Justin Ruggles [Tue, 27 Sep 2011 15:49:50 +0000 (11:49 -0400)]
mpegaudiodec: return AVERROR return codes instead of -1

8 years agompegaudiodec: Skip only bad frames instead of the whole packet.
Justin Ruggles [Tue, 27 Sep 2011 14:39:54 +0000 (10:39 -0400)]
mpegaudiodec: Skip only bad frames instead of the whole packet.

On frame decoding failure, return an error if the frame is the same size as
the whole packet, otherwise just log an error message and return the number
of bytes consumed.

8 years agolavc: remove "legacy" mpegvideo decoder.
Anton Khirnov [Tue, 25 Oct 2011 14:52:02 +0000 (16:52 +0200)]
lavc: remove "legacy" mpegvideo decoder.

8 years agoiv8: assemble packets to return complete frames
Janne Grunau [Thu, 27 Oct 2011 15:41:40 +0000 (17:41 +0200)]
iv8: assemble packets to return complete frames

8 years agopulse: documentation
Luca Barbato [Wed, 26 Oct 2011 16:27:54 +0000 (09:27 -0700)]
pulse: documentation

Specify avoptions and how to use pactl to list devices.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years agopulse: introduce pulseaudio input
Luca Barbato [Wed, 26 Oct 2011 16:27:53 +0000 (09:27 -0700)]
pulse: introduce pulseaudio input

It currently use the simple api and is using the latency information
provided only to offset the stream start.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years agoremove the zork pcm seek test
Justin Ruggles [Wed, 26 Oct 2011 22:48:02 +0000 (18:48 -0400)]
remove the zork pcm seek test

this was forgotten when the encoder was removed

8 years agolibopencore-amr: check output buffer size before decoding
Justin Ruggles [Tue, 27 Sep 2011 21:24:27 +0000 (17:24 -0400)]
libopencore-amr: check output buffer size before decoding

8 years agolibopencore-amr: remove unneeded buf_size==0 check.
Justin Ruggles [Tue, 27 Sep 2011 21:21:32 +0000 (17:21 -0400)]
libopencore-amr: remove unneeded buf_size==0 check.

avcodec_decode_audio3() already checks it before sending the packet to the
decoder.

8 years agolibopencore-amr: remove unneeded frame_count field.
Justin Ruggles [Tue, 27 Sep 2011 21:17:59 +0000 (17:17 -0400)]
libopencore-amr: remove unneeded frame_count field.

Use AVCodecContext.frame_number instead.

8 years agoaac_latm: remove unneeded check for zero-size packet.
Justin Ruggles [Mon, 10 Oct 2011 15:35:35 +0000 (11:35 -0400)]
aac_latm: remove unneeded check for zero-size packet.

This is already checked by avcodec_decode_audio3()

8 years agopcmdec: fix output buffer size check by calculating the actual output size
Justin Ruggles [Thu, 29 Sep 2011 20:44:50 +0000 (16:44 -0400)]
pcmdec: fix output buffer size check by calculating the actual output size
prior to decoding.

8 years agopcmdec: move codec-specific variable declarations to the corresponding codec
Justin Ruggles [Thu, 29 Sep 2011 20:30:20 +0000 (16:30 -0400)]
pcmdec: move codec-specific variable declarations to the corresponding codec
blocks.

8 years agopcmdec: return buf_size instead of src-buf.
Justin Ruggles [Thu, 29 Sep 2011 20:00:00 +0000 (16:00 -0400)]
pcmdec: return buf_size instead of src-buf.

The values will always be the same, so this change eliminates an unneeded
variable. It also gets rid of the need to reset src when memcpy() is used.

8 years agoavcodec: remove the Zork PCM encoder.
Justin Ruggles [Thu, 29 Sep 2011 16:12:23 +0000 (12:12 -0400)]
avcodec: remove the Zork PCM encoder.

The Zork PCM decoder does not decode the 1 sample we have correctly, therefore
the encoder based on the decoder is also incorrect. There is no good reason to
keep the encoder.

8 years agopcm_zork: use AV_SAMPLE_FMT_U8 instead of shifting all samples by 8.
Justin Ruggles [Wed, 28 Sep 2011 23:31:05 +0000 (19:31 -0400)]
pcm_zork: use AV_SAMPLE_FMT_U8 instead of shifting all samples by 8.

8 years agopcmenc: remove unneeded sample_fmt check.
Justin Ruggles [Tue, 27 Sep 2011 23:52:50 +0000 (19:52 -0400)]
pcmenc: remove unneeded sample_fmt check.

It is already checked by avcodec_open2().

8 years agopcmdec: move number of channels check to pcm_decode_init()
Justin Ruggles [Tue, 27 Sep 2011 23:49:25 +0000 (19:49 -0400)]
pcmdec: move number of channels check to pcm_decode_init()

8 years agopcmdec: remove unnecessary check for sample_fmt change
Justin Ruggles [Tue, 27 Sep 2011 23:47:10 +0000 (19:47 -0400)]
pcmdec: remove unnecessary check for sample_fmt change

8 years agopcmdec: move DVD PCM bits_per_coded_sample check near to the code that sets
Justin Ruggles [Tue, 27 Sep 2011 23:24:47 +0000 (19:24 -0400)]
pcmdec: move DVD PCM bits_per_coded_sample check near to the code that sets
the sample size.

8 years agopcmdec: do not needlessly set *data_size to 0
Justin Ruggles [Tue, 27 Sep 2011 21:52:48 +0000 (17:52 -0400)]
pcmdec: do not needlessly set *data_size to 0

8 years agoalacdec: remove unneeded NULL or zero-size packet checks.
Justin Ruggles [Mon, 10 Oct 2011 17:07:19 +0000 (13:07 -0400)]
alacdec: remove unneeded NULL or zero-size packet checks.

This is already done in avcodec_decode_audio3()

8 years agoalacdec: simplify buffer allocation by using FF_ALLOC_OR_GOTO()
Justin Ruggles [Mon, 10 Oct 2011 15:21:07 +0000 (11:21 -0400)]
alacdec: simplify buffer allocation by using FF_ALLOC_OR_GOTO()

8 years agoalacdec: ask for a sample for unsupported sample depths.
Justin Ruggles [Sun, 9 Oct 2011 18:23:44 +0000 (14:23 -0400)]
alacdec: ask for a sample for unsupported sample depths.

Also return AVERROR_PATCHWELCOME.

8 years agoalacdec: cosmetics: use 'ch' instead of 'chan' to iterate channels
Justin Ruggles [Sun, 9 Oct 2011 18:21:35 +0000 (14:21 -0400)]
alacdec: cosmetics: use 'ch' instead of 'chan' to iterate channels

8 years agoalacdec: move some declarations to the top of the function
Justin Ruggles [Sun, 9 Oct 2011 18:19:32 +0000 (14:19 -0400)]
alacdec: move some declarations to the top of the function

8 years agoalacdec: always use get_sbits_long() for uncompressed samples
Justin Ruggles [Sun, 9 Oct 2011 18:02:52 +0000 (14:02 -0400)]
alacdec: always use get_sbits_long() for uncompressed samples

8 years agoalacdec: remove unneeded local variable
Justin Ruggles [Sun, 9 Oct 2011 18:02:21 +0000 (14:02 -0400)]
alacdec: remove unneeded local variable

8 years agoalacdec: remove the numchannels parameter from several functions.
Justin Ruggles [Sun, 9 Oct 2011 17:36:01 +0000 (13:36 -0400)]
alacdec: remove the numchannels parameter from several functions.

They only operate on stereo content, so the extra param is not necessary and
also allows for simplifying the code.