[FFmpeg-trac] #5844(avformat:new): FFMPEG HEAD+3.1.3 : Crash when using RTSP mux (ie RECORD method)

FFmpeg trac at avcodec.org
Tue Sep 13 09:41:09 EEST 2016


#5844: FFMPEG HEAD+3.1.3 : Crash when using RTSP mux (ie RECORD method)
-------------------------------------+-------------------------------------
             Reporter:  LeRatier     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  rtsp crash   |               Blocked By:
  regression                         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by LeRatier):

 And next step performed ! The regression appears in
 bc2a32969eb4db17677971def5ad5b936d9d1648, with this 2 lines added in
 rtsp.c :

 {{{
 @@ -824,6 +828,8 @@ int ff_rtsp_open_transport_ctx(AVFormatContext *s,
 RTSPStream *rtsp_st)
      if (!rtsp_st->transport_priv) {
           return AVERROR(ENOMEM);
      } else if (CONFIG_RTPDEC && rt->transport == RTSP_TRANSPORT_RTP) {
 +        RTPDemuxContext *rtpctx = rtsp_st->transport_priv;
 +        rtpctx->ssrc = rtsp_st->ssrc;
          if (rtsp_st->dynamic_handler) {
              ff_rtp_parse_set_dynamic_protocol(rtsp_st->transport_priv,
 rtsp_st->dynamic_protocol_context,

 }}}

 At this point, i can not help further, i do not know why this modification
 involves a crash in the lower function layer.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5844#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list