aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-10-17 11:30:22 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-10-17 11:30:22 +0000
commit4d6ac1a47b1c866bcee6cb48332f435d193264cf (patch)
tree61d6ab24ffe67130a282a89111da0af5fcd1acc5
parentee71ef5cf42cfb07724b479deee6fd3eb5df1b76 (diff)
downloadffmpeg-4d6ac1a47b1c866bcee6cb48332f435d193264cf.tar.gz
skip packet if no stream index is found, fix proxy_pal030926.mxf
Originally committed as revision 6721 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mxf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mxf.c b/libavformat/mxf.c
index c0aa5086b2..efa95812e2 100644
--- a/libavformat/mxf.c
+++ b/libavformat/mxf.c
@@ -265,6 +265,7 @@ static int mxf_read_packet(AVFormatContext *s, AVPacket *pkt)
int index = mxf_get_stream_index(s, &klv);
if (index < 0) {
av_log(s, AV_LOG_ERROR, "error getting stream index\n");
+ url_fskip(&s->pb, klv.length);
return -1;
}
/* check for 8 channels AES3 element */