On 23/07/14 16:41, Diego Biurrun wrote:
> This fixes a number of incompatible pointer type warnings.
> ---
>  libavcodec/fft-test.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c
> index 9a7b3cb..02d252d 100644
> --- a/libavcodec/fft-test.c
> +++ b/libavcodec/fft-test.c
> @@ -420,11 +420,11 @@ int main(int argc, char **argv)
>  #if CONFIG_DCT
>      case TRANSFORM_DCT:
>          memcpy(tab, tab1, fft_size * sizeof(FFTComplex));
> -        d.dct_calc(&d, tab);
> +        d.dct_calc(&d, &tab->re);
>          if (do_inverse)
> -            idct_ref(tab_ref, tab1, fft_nbits);
> +            idct_ref(&tab_ref->re, &tab1->re, fft_nbits);
>          else
> -            dct_ref(tab_ref, tab1, fft_nbits);
> +            dct_ref(&tab_ref->re, &tab1->re, fft_nbits);
>          err = check_diff((float *) tab_ref, (float *) tab, fft_size, 1.0);
>          break;
>  #endif /* CONFIG_DCT */
> 

Ok.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to