[FFmpeg-cvslog] r16438 - trunk/libavformat/dv.c
romansh
subversion
Mon Jan 5 18:50:14 CET 2009
Author: romansh
Date: Mon Jan 5 18:50:13 2009
New Revision: 16438
Log:
additional recovery for the badly broken streams
Modified:
trunk/libavformat/dv.c
Modified: trunk/libavformat/dv.c
==============================================================================
--- trunk/libavformat/dv.c Mon Jan 5 15:46:04 2009 (r16437)
+++ trunk/libavformat/dv.c Mon Jan 5 18:50:13 2009 (r16438)
@@ -430,6 +430,8 @@ static int dv_read_packet(AVFormatContex
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);
More information about the ffmpeg-cvslog
mailing list