Browse Source

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

Fixes decoding the sample from ticket #6072 with ffmpeg.
tags/n3.3
Carl Eugen Hoyos 8 years ago
parent
commit
f31bac596f
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      libavformat/dss.c

+ 0
- 3
libavformat/dss.c View File

@@ -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:


Loading…
Cancel
Save