[FFmpeg-devel] Calling av_find_stream_info multiple times crashes

Gavin Kinsey gkinsey at ad-holdings.co.uk
Thu Jul 7 10:34:31 CEST 2011


Due to the change in commit fd0368e7ca35e2feaf7960564e61a76655c4d1f6 calling 
av_find_stream_info multiple times on the same AVFormatContext now causes a 
crash.

Previously the info struct was being realllocated on each call, but now it 
is freed at the end of av_find_stream_info and never allocated again.  Not 
sure how to solve this without causing a leak.  But a leak is better than a 
crash IMO.

-- 
Gavin Kinsey
AD Holdings Plc


Closed IPTV, the new safe and secure deterministic IP Video solution from Dedicated Micros, is now shipping through selected distributors.
- Come and see this award winning plug and play, IP Video innovation at one of our Roadshows around the UK visit: https://www.dedicatedmicros.com/europe/ClosedIPTVRoadshow2011
- Contact our Customer Services Team for more information regarding how to enter the world of safe and secure hybrid IP and analogue video surveillance systems.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: av_find_stream_info.patch
Type: text/x-patch
Size: 342 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110707/f49f9c1b/attachment.bin>


More information about the ffmpeg-devel mailing list