[FFmpeg-devel] Fix segmentation fault in ffprobe

Stefano Sabatini stefano.sabatini-lala at poste.it
Tue Jun 21 15:38:32 CEST 2011


On date Tuesday 2011-06-21 13:16:55 +0100, Gavin Kinsey encoded:
> Someone forgot to add an init_opts call to ffprobe when they did ffmpeg and 
> ffplay I think.
> 
> -- 
> Gavin Kinsey
> AD Holdings Plc
[...]

> From a39594d6cbac40438efdadafec4a417f4a3d200e Mon Sep 17 00:00:00 2001
> From: Gavin Kinsey <gkinsey at ad-holdings.co.uk>
> Date: Tue, 21 Jun 2011 13:13:37 +0100
> Subject: [PATCH] Fix segmentation fault in ffprobe
> 
> ---
>  ffprobe.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/ffprobe.c b/ffprobe.c
> index f0ec9e4..a2a9c2a 100644
> --- a/ffprobe.c
> +++ b/ffprobe.c
> @@ -395,6 +395,7 @@ int main(int argc, char **argv)
>      int ret;
>  
>      av_register_all();
> +    init_opts();
>  #if CONFIG_AVDEVICE
>      avdevice_register_all();
>  #endif

Can you say which command is causing a segmentation fault?
-- 
FFmpeg = Fostering Fancy Most Perennial Eretic Game


More information about the ffmpeg-devel mailing list