Skip to content
Snippets Groups Projects
Commit f31bac59 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos
Browse files

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

Fixes decoding the sample from ticket #6072 with ffmpeg.
parent aaae459a
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment