diff options
author | Luca Abeni <lucabe72@email.it> | 2007-08-25 15:12:38 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2007-08-25 15:12:38 +0000 |
commit | 50755217f808a760e1a6c5b89eba1971c4c5cc04 (patch) | |
tree | 4a23c3bc172fab95f3d3662bba5de40b7d99597d /libavformat | |
parent | 273b0cd3c42c8c3c86829c09de4784c9661880a3 (diff) | |
download | ffmpeg-50755217f808a760e1a6c5b89eba1971c4c5cc04.tar.gz |
Use correct timescale in RTSP seeking
Originally committed as revision 10222 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index d6f8e39fc1..db11049002 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1267,7 +1267,7 @@ static int rtsp_read_seek(AVFormatContext *s, int stream_index, { RTSPState *rt = s->priv_data; - rt->seek_timestamp = timestamp; + rt->seek_timestamp = av_rescale_q(timestamp, s->streams[stream_index]->time_base, AV_TIME_BASE_Q); switch(rt->state) { default: case RTSP_STATE_IDLE: |