[Ffmpeg-devel] [patch] libavformat/utils.c:av_find_stream_info() segfault

Michael Niedermayer michaelni
Wed Jan 11 00:06:02 CET 2006


Hi

On Tue, Jan 10, 2006 at 10:38:49AM -0800, Jim Westfall wrote:
> Hi
> 
> av_find_stream_info will segfault if there is a stream change within the 
> mpeg2ts packets its using to find the stream info. When a stream change 
> happens the following trace happens
> 
> ==15109==    at 0x401B009: free (vg_replace_malloc.c:235)
> ==15109==    by 0x4927C87: av_free (mem.c:128)
> ==15109==    by 0x48BDF1E: flush_packet_queue (utils.c:1161)
> ==15109==    by 0x48BDFA4: av_read_frame_flush (utils.c:1195)
> ==15109==    by 0x48AAC3D: pmt_cb (mpegts.c:642)
> ==15109==    by 0x48AA1A4: write_section_data (mpegts.c:263)
> ==15109==    by 0x48AC488: handle_packet (mpegts.c:1523)
> ==15109==    by 0x48AC71C: handle_packets (mpegts.c:1604)
> ==15109==    by 0x48AD31F: mpegts_read_packet (mpegts.c:1892)

mpegts.c has only 1518 lines so this trace is not from ffmpeg cvs
patch rejected and bugreport closed/invalid

[...]

-- 
Michael





More information about the ffmpeg-devel mailing list