[FFmpeg-trac] #1729(avformat:new): avformat sdp.c error.

FFmpeg trac at avcodec.org
Thu Sep 13 04:30:03 CEST 2012


#1729: avformat sdp.c error.
-------------------------------------+-------------------------------------
             Reporter:  kyh96403     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avformat     |                  Version:
             Keywords:  sdp          |  unspecified
  ffserver avformat                  |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 FFserver cannot work RTSP when video codec is H.264 or H.263.
 Because sdp.c's function "sdp_write_media_attributes" have bug.
 "fmt->oformat" can have NULL.

 {{{
 So "if (fmt && fmt->oformat->priv_class &&" -> "if (fmt && fmt->oformat &&
 fmt->oformat->priv_class"
 And "if (!fmt || !fmt->oformat->priv_class ||" -> "if (!fmt ||
 !fmt->oformat || !fmt->oformat->priv_class ||"
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1729>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list