[FFmpeg-devel] [PATCH] uninitialized AVFormatContext in ffserver

Aurelien Jacobs aurel
Fri Jan 9 21:04:19 CET 2009


Baptiste Coudurier wrote:

> Hi Aurel,
> 
> Aurelien Jacobs wrote:
> > Hi,
> > 
> > ffserver currently call av_write_header() on an AVFormatContext which
> > is not initialized. This causes a segfault when av_write_header()
> > try to access to AVFormatContext.metadata which is pointing to random
> > place.
> > Attached patch initialize the AVFormatContext to zero.
> > 
> 
> Patch ok.

Applied.

Aurel




More information about the ffmpeg-devel mailing list