[Ffmpeg-devel] Changing "-vstats" option behaviour

Benoit Fouet benoit.fouet
Fri Apr 20 12:36:34 CEST 2007


Hi,

Stefano Sabatini wrote:
> Index: ffmpeg.c
> ===================================================================
> --- ffmpeg.c	(revision 8759)
> +++ ffmpeg.c	(working copy)
> @@ -3806,6 +3817,11 @@
>  
>      av_free(intra_matrix);
>      av_free(inter_matrix);
> +
> +    if (vstats_filename) {
> +        fclose(fvstats);
> +        av_free(vstats_filename);
> +    }
>   
how about:
if (fvstats)
    fclose(fvstats);
av_free(vstats_filename);

Ben

-- 
Purple Labs S.A.
www.purplelabs.com




More information about the ffmpeg-devel mailing list