[FFmpeg-trac] #5869(ffserver:open): ffserver crash when GET sdp file

FFmpeg trac at avcodec.org
Wed Dec 7 07:02:06 EET 2016


#5869: ffserver crash when GET sdp file
-------------------------------------+-------------------------------------
             Reporter:  korovkin     |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  ffserver
              Version:  3.1.5        |               Resolution:
             Keywords:  codecpar     |               Blocked By:
  regression crash                   |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by smartzzz):

 From running git bisect, I found that below commit cause this issue.

 commit 9200514ad8717c63f82101dc394f4378854325bf
 Author: Anton Khirnov <‚Äčanton at khirnov.net>
 Date: Wed Jun 18 20:42:52 2014 +0200
 lavf: replace AVStream.codec with AVStream.codecpar

 Currently, AVStream contains an embedded AVCodecContext instance, which
 is used by demuxers to export stream parameters to the caller and by
 muxers to receive stream parameters from the caller. It is also used
 internally as the codec context that is passed to parsers.

 In addition, it is also widely used by the callers as the decoding (when
 demuxer) or encoding (when muxing) context, though this has been
 officially discouraged since Libav 11.

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


More information about the FFmpeg-trac mailing list