You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
lavf/dss: Do not fail randomly if dss_sp input contains 0xff.
Fixes decoding the sample from ticket #6072 with ffmpeg.
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user