On 2015-12-16 14:26:39 +0100, Alexandra Hájková wrote:
> and move SAMPLES_PER_SUBBAND to more appropriate place.
> ---
> libavcodec/dca.h | 2 +-
> libavcodec/dcadec.c | 21 ++++++++++-----------
> libavcodec/dcadsp.c | 8 ++++----
> libavcodec/dcadsp.h | 11 +++++++----
> 4 files changed, 22 insertions(+), 20 deletions(-)
>
> diff --git a/libavcodec/dca.h b/libavcodec/dca.h
> index a85470d..787a9c7 100644
> --- a/libavcodec/dca.h
> +++ b/libavcodec/dca.h
> @@ -147,7 +147,7 @@ typedef struct DCAAudioHeader {
> } DCAAudioHeader;
>
> typedef struct DCAChan {
> - DECLARE_ALIGNED(32, int32_t,
> subband_samples)[DCA_BLOCKS_MAX][DCA_SUBBANDS][8];
> + DECLARE_ALIGNED(32, int32_t,
> subband_samples)[DCA_BLOCKS_MAX][DCA_SUBBANDS][SAMPLES_PER_SUBBAND];
>
> /* Subband samples history (for ADPCM) */
> DECLARE_ALIGNED(32, int32_t, subband_samples_hist)[DCA_SUBBANDS][4];
I'd have expected the defines in dca.h instead of dcadsp.h. otherwise
fine
Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel