[FFmpeg-cvslog] 11071 broke av_open_input_file

matthieu castet castet.matthieu
Tue Nov 27 23:45:01 CET 2007


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.


Matthieu




More information about the ffmpeg-cvslog mailing list