mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00: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:
parent
aaae459a85
commit
f31bac596f
1 changed files with 0 additions and 3 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue