[FFmpeg-devel] [PATCH] libavformat: Segfault on Apple HTTP Livestream playlist with unavailable hosts
nicolas.george at normalesup.org
Wed Dec 14 17:32:35 CET 2011
Le quartidi 24 frimaire, an CCXX, Takis Issaris a écrit :
> The attached patch checks the AVFormatContext->iformat pointer before
> dereferencing it.
That seems wrong: there are a lot of places that dereference iformat
unconditionally, thus it seems that it being not null is implicitly part of
According to your ticket :
> the code jumps to fail, which invokes free_variant_list() which in turn
> invokes avformat_close_input()
I believe free_variant_list is wrong to call avformat_close_input on format
contexts that have not been properly opened.
I am not a specialist of applehttp, though, nor of anything with "apple" in
it which does not involve food.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel