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

Baptiste Coudurier baptiste.coudurier
Fri Jan 9 20:49:53 CET 2009


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.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no




More information about the ffmpeg-devel mailing list