X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Frtspdec.c;h=8699f77918eca9fe3d77dc4a97f05bb5f57a3207;hb=a40f6a5c698e314ab8c2770c1230ae0d0bd23a33;hp=f55b8cf2a2ff54e3465bf82e2a46fed137f14ea2;hpb=95d6e5bdd58d5caaa52c57bad1e1d87df59fb7f8;p=ffmpeg diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c index f55b8cf2a2f..8699f77918e 100644 --- a/libavformat/rtspdec.c +++ b/libavformat/rtspdec.c @@ -52,6 +52,8 @@ static int rtsp_read_play(AVFormatContext *s) rtpctx->last_rtcp_ntp_time = AV_NOPTS_VALUE; rtpctx->first_rtcp_ntp_time = AV_NOPTS_VALUE; rtpctx->base_timestamp = 0; + rtpctx->timestamp = 0; + rtpctx->unwrapped_timestamp = 0; rtpctx->rtcp_ts_offset = 0; } }