[FFmpeg-devel] Segmentation fault in libquvi.c

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Wed Apr 8 11:14:39 CEST 2015


On Wed, Apr 08, 2015 at 11:02:47AM +0200, wm4 wrote:
> On Wed, 8 Apr 2015 10:55:45 +0200
> Gilles Chanteperdrix <gilles.chanteperdrix at xenomai.org> wrote:
> 
> > Hi, 
> > 
> > I just triend libquvi, and get a segmentation fault in the
> > libquvi_read_header function, because ff_copy_whitelists is called
> > before qc->fmtctx is allocated by avformat_open_input. I added a
> > call to avformat_alloc_context() before ff_copy_whitelists and the
> > libquvi demuxer works. 
> > 
> > However, I wonder how to fix this properly: the error handling
> > labels look backward, so that I am not sure where to free the
> > allocated context in case of error.
> > 
> > Regards.
> > 
> 
> It's probably best to remove libquvi. It's dead.

Indeed, no activity since 2013. Is there any other ffmpeg demuxer
providing the same functionality ?

-- 
					    Gilles.


More information about the ffmpeg-devel mailing list