[FFmpeg-cvslog] 11071 broke av_open_input_file

Michael Niedermayer michaelni
Wed Nov 28 11:23:09 CET 2007


On Tue, Nov 27, 2007 at 11:45:01PM +0100, matthieu castet wrote:
> Hi,
> 
> it seems 11071 broke av_open_input_file.
> 
> The case "fmt && (fmt->flags & AVFMT_NOFILE)" doesn't work anymore.
> 
> In this case pb is null, and we pass it to av_open_input_stream.
> Before if pb was null, ic->pb was allocated by av_alloc_format_context.
> 
> Now it is never allocated and ic->pb is a pointer to NULL. And it cause 
> segdefault to some application using it like vdr softdevice.

maybe you should rather send this to ffmpeg-dev as reply to the patch
which caused it or to its author instead of here ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20071128/e124c062/attachment.pgp>



More information about the ffmpeg-cvslog mailing list