Revision a20df858 libavcodec/wmaprodec.c

View differences:

libavcodec/wmaprodec.c
508 508
 */
509 509
static int decode_tilehdr(WMAProDecodeCtx *s)
510 510
{
511
    uint16_t num_samples[WMAPRO_MAX_CHANNELS];        /** sum of samples for all currently known subframes of a channel */
512
    uint8_t  contains_subframe[WMAPRO_MAX_CHANNELS];  /** flag indicating if a channel contains the current subframe */
513
    int channels_for_cur_subframe = s->num_channels;  /** number of channels that contain the current subframe */
514
    int fixed_channel_layout = 0;                     /** flag indicating that all channels use the same subframe offsets and sizes */
515
    int min_channel_len = 0;                          /** smallest sum of samples (channels with this length will be processed first) */
511
    uint16_t num_samples[WMAPRO_MAX_CHANNELS];        /**< sum of samples for all currently known subframes of a channel */
512
    uint8_t  contains_subframe[WMAPRO_MAX_CHANNELS];  /**< flag indicating if a channel contains the current subframe */
513
    int channels_for_cur_subframe = s->num_channels;  /**< number of channels that contain the current subframe */
514
    int fixed_channel_layout = 0;                     /**< flag indicating that all channels use the same subframe offsets and sizes */
515
    int min_channel_len = 0;                          /**< smallest sum of samples (channels with this length will be processed first) */
516 516
    int c;
517 517

  
518 518
    /* Should never consume more than 3073 bits (256 iterations for the

Also available in: Unified diff