[FFmpeg-soc] [soc]: r2462 - wmapro/wma3dec.c
faust3
subversion at mplayerhq.hu
Sun Jun 15 17:26:48 CEST 2008
Author: faust3
Date: Sun Jun 15 17:26:48 2008
New Revision: 2462
Log:
added per channel data to the context
Modified:
wmapro/wma3dec.c
Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c (original)
+++ wmapro/wma3dec.c Sun Jun 15 17:26:48 2008
@@ -27,6 +27,12 @@
shrink types
*/
+typedef struct {
+ int num_subframes;
+ int subframe_len[MAX_SUBFRAMES]; //< subframe len in samples
+ int channel_len; //< channel len in samples
+} wma_channel_t;
+
typedef struct WMA3DecodeContext {
AVCodecContext* avctx;
GetBitContext gb;
@@ -44,6 +50,7 @@ typedef struct WMA3DecodeContext {
unsigned int log2_frame_size;
int lossless;
int nb_channels;
+ wma_channel_t channel[MAX_CHANNELS];
// Extradata
unsigned int decode_flags;
More information about the FFmpeg-soc
mailing list