[FFmpeg-devel] Fix segmentation fault in ffprobe
Gavin Kinsey
gkinsey at ad-holdings.co.uk
Wed Jun 22 08:44:40 CEST 2011
On Tuesday 21 June 2011 14:38:32 Stefano Sabatini wrote:
> 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.
>
> [...]
>
> > 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?
All invocations of ffprobe with options and a filename.
$ ./ffprobe -probesize 32768 ~/Videos/blue_man_mpeg4sp_mp3.avi
ffprobe version N-30920-gda0dadb, Copyright (c) 2007-2011 the FFmpeg
developers
built on Jun 22 2011 07:43:04 with gcc 4.4.5
configuration: --enable-static --disable-shared
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
Segmentation fault
--
Gavin Kinsey
AD Holdings Plc
Closed IPTV, the new safe and secure deterministic IP Video solution from Dedicated Micros, is now shipping through selected distributors.
- Come and see this award winning plug and play, IP Video innovation at one of our Roadshows around the UK visit: https://www.dedicatedmicros.com/europe/ClosedIPTVRoadshow2011
- Contact our Customer Services Team for more information regarding how to enter the world of safe and secure hybrid IP and analogue video surveillance systems.
More information about the ffmpeg-devel
mailing list