aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/dss.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2017-01-12 14:12:35 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2017-01-12 15:02:42 +0100
commitf31bac596f93e02b49d04733e57770e183a3d0c8 (patch)
treed3c6b924ff897945f4161fd175673af97fc8bbb7 /libavformat/dss.c
parentaaae459a850ee367f5a0409a5f2ba8200a2b2fe5 (diff)
downloadffmpeg-f31bac596f93e02b49d04733e57770e183a3d0c8.tar.gz
lavf/dss: Do not fail randomly if dss_sp input contains 0xff.
Fixes decoding the sample from ticket #6072 with ffmpeg.
Diffstat (limited to 'libavformat/dss.c')
-rw-r--r--libavformat/dss.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/dss.c b/libavformat/dss.c
index cbf6e17dee..083eb4ad43 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: