Changeset 73029abd in ffmpeg

Timestamp:
Feb 21, 2015, 1:18:52 PM (10 years ago)
Author:
Michael Niedermayer <michaelni@gmx.at>
Branches:
master
Children:
2af5fb2f
Parents:
e3cc93aa
git-author:
Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> (02/20/15 06:14:53)
git-committer:
Michael Niedermayer <michaelni@gmx.at> (02/21/15 13:18:52)
Message:

libavformat/rtpdec: fix issue with conversion from unsigned to signed

When receiving an RTCP packet, the difference between the last RTCP
timestamp and the base timestamp may be negative. As these timestamps
are of the uint32_t type, the result becomes a large integer. Cast
the difference to int32_t to avoid this issue.

The result of this issue is very large start times for RTSP
streams, and difficulty to restart correctly after a pause.

Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

(No files)

Note: See TracChangeset for help on using the changeset viewer.