[FFmpeg-devel] [PATCH] avcodec/tests/snowenc: Fix mixed declaration and code

Sean McGovern gseanmcg at gmail.com
Fri Mar 15 16:27:17 EET 2024


Hi,


On Fri, Mar 15, 2024, 10:24 Andreas Rheinhardt <
andreas.rheinhardt at outlook.com> wrote:

> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  libavcodec/tests/snowenc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/tests/snowenc.c b/libavcodec/tests/snowenc.c
> index 37198cd4e3..3dad07d3a5 100644
> --- a/libavcodec/tests/snowenc.c
> +++ b/libavcodec/tests/snowenc.c
> @@ -35,9 +35,9 @@ int main(void){
>      SnowContext s;
>      int i;
>      AVLFG prng;
> +    int ret = 0;
>      s.spatial_decomposition_count=6;
>      s.spatial_decomposition_type=1;
> -    int ret = 0;
>
>      s.temp_dwt_buffer  = av_calloc(width, sizeof(*s.temp_dwt_buffer));
>      s.temp_idwt_buffer = av_calloc(width, sizeof(*s.temp_idwt_buffer));
> --
> 2.40.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>

OK, looks good to me.

Thanks,
Sean McGovern

>


More information about the ffmpeg-devel mailing list