[FFmpeg-devel] [PATCH] : libavformat segfault when a RTSP reading is interrupted

Benoit Fouet benoit.fouet
Thu Jul 5 22:58:13 CEST 2007


Michael Niedermayer wrote:
> Hi
>
> On Thu, Jul 05, 2007 at 03:13:01PM +0200, Eric Paul wrote:
>   
>> [snip]
>>
>> the
>> struct pointer rtsp_st in function rtsp_read_packet is uninitialized, so the
>> next line of code which read rtsp_st->rtp_ctx segfaults !
>>
>> As udp_read_packet returns -1 when interrupted by the callback, I've done a
>> (very) little patch which seems to correct the problem (patch attached).
>>     
>
> the patch looks ok
>
>   

Applied

-- 
Ben





More information about the ffmpeg-devel mailing list