[FFmpeg-cvslog] r14860 - in trunk/libavcodec: ac3dec.c ac3enc.c

Justin Ruggles justinruggles
Wed Aug 20 02:35:27 CEST 2008


jbr wrote:
> Author: jbr
> Date: Wed Aug 20 02:32:17 2008
> New Revision: 14860
> 
> Log:
> commit the OKed parts of the E-AC-3 decoder
>
> @@ -959,16 +999,18 @@ static int decode_audio_block(AC3DecodeC
>          }
>          if(bit_alloc_stages[ch] > 0) {
>              /* Compute bit allocation */
> +            const uint8_t *bap_tab = s->channel_uses_aht[ch] ?
> +                                     ff_eac3_hebap_tab : ff_ac3_bap_tab;
>              ff_ac3_bit_alloc_calc_bap(s->mask[ch], s->psd[ch],
>                                        s->start_freq[ch], s->end_freq[ch],
>                                        s->snr_offset[ch],
>                                        s->bit_alloc_params.floor,
> -                                      ff_ac3_bap_tab, s->bap[ch]);
> +                                      bap_tab, s->bap[ch]);
>          }
>      }

oops... this part was not oked.  is it ok?




More information about the ffmpeg-cvslog mailing list