X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Frtspdec.c;h=8699f77918eca9fe3d77dc4a97f05bb5f57a3207;hb=6e9081f4d87b4ebcd3355ebd560307c59d2104c3;hp=f55b8cf2a2ff54e3465bf82e2a46fed137f14ea2;hpb=f0a7b67a356def037d26f9460b22c86d82be2b89;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; } }