]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtspdec.c
mxfdec: Make sure x < index_table->nb_ptses
[ffmpeg] / libavformat / rtspdec.c
index f55b8cf2a2ff54e3465bf82e2a46fed137f14ea2..8699f77918eca9fe3d77dc4a97f05bb5f57a3207 100644 (file)
@@ -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;
             }
         }