[FFmpeg-trac] #16(FFmpeg:new): "non-monotonically increasing dts" because of corrupt rtptime

FFmpeg trac at avcodec.org
Thu Mar 24 01:20:55 CET 2011


#16: "non-monotonically increasing dts" because of corrupt rtptime
------------------------+---------------------
  Reporter:  il--ya     |      Owner:  michael
      Type:  defect     |     Status:  new
  Priority:  important  |  Component:  FFmpeg
   Version:  git        |   Keywords:
Blocked By:             |   Blocking:
Reproduced:  0          |   Analyzed:  0
------------------------+---------------------
 I'm using ffmpeg-r26400-swscale-r32676.
 I've found a bug in libavformat/rtsp.c, function rtsp_parse_rtp_info():
 rtptime and seq values from RTSP interpreted as signed long, strtol()
 function is used to read these values. Problem is that these values are
 unsigned, and when >0x7fffffff, strtol() returns wrong value. This causes
 various errors (mainly "non monotonically incresing dts" complaint).
 unsigned version strtoul() should be used to read these values. Patch
 attached

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


More information about the FFmpeg-trac mailing list