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

Aurelien Jacobs aurel
Fri Jan 9 20:38:39 CET 2009


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
Attached patch initialize the AVFormatContext to zero.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffserver_ctx_zero.diff
Type: text/x-patch
Size: 461 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090109/43606673/attachment.bin>

More information about the ffmpeg-devel mailing list