Commit f31bac59 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavf/dss: Do not fail randomly if dss_sp input contains 0xff.

Fixes decoding the sample from ticket #6072 with ffmpeg.
parent aaae459a
...@@ -265,9 +265,6 @@ static int dss_sp_read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -265,9 +265,6 @@ static int dss_sp_read_packet(AVFormatContext *s, AVPacket *pkt)
goto error_eof; goto error_eof;
} }
if (pkt->data[0] == 0xff)
return AVERROR_INVALIDDATA;
return pkt->size; return pkt->size;
error_eof: error_eof:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment