"non-monotonically increasing dts" because of corrupt rtptime
|Reported by:||il--ya||Owned by:||michael|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||yes|
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