Merge commit '078d43e23a7a3d64aafee8a58b380d3e139b3020'
[ffmpeg.git] / libavformat / rtpdec_mpegts.c
index c0c07fd..6b9c676 100644 (file)
@@ -60,9 +60,6 @@ static int mpegts_handle_packet(AVFormatContext *ctx, PayloadContext *data,
     // different ranges.
     *timestamp = RTP_NOTS_VALUE;
 
-    if (!data->ts)
-        return AVERROR(EINVAL);
-
     if (!buf) {
         if (data->read_buf_index >= data->read_buf_size)
             return AVERROR(EAGAIN);