Commit 1c2bc296 authored by romansh's avatar romansh

additional recovery for the badly broken streams


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16438 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 84237bae
......@@ -430,6 +430,8 @@ static int dv_read_packet(AVFormatContext *s, AVPacket *pkt)
size = dv_get_packet(c->dv_demux, pkt);
if (size < 0) {
if (!c->dv_demux->sys)
return AVERROR(EIO);
size = c->dv_demux->sys->frame_size;
if (get_buffer(s->pb, c->buf, size) <= 0)
return AVERROR(EIO);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment