diff --git a/libavformat/dss.c b/libavformat/dss.c index cbf6e17dee6fd3cdbb2d85801165d626e4cad07e..083eb4ad43b2f9cb1b25f35f53ea2dd47dc1aae4 100644 --- a/libavformat/dss.c +++ b/libavformat/dss.c @@ -265,9 +265,6 @@ static int dss_sp_read_packet(AVFormatContext *s, AVPacket *pkt) goto error_eof; } - if (pkt->data[0] == 0xff) - return AVERROR_INVALIDDATA; - return pkt->size; error_eof: