changeset 1396:069c0c5a1baf libavformat

skip packet if no stream index is found, fix proxy_pal030926.mxf
author bcoudurier
date Tue, 17 Oct 2006 11:30:22 +0000
parents c956d0ce5e91
children 21755fe31dd7
files mxf.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mxf.c	Tue Oct 17 11:23:04 2006 +0000
+++ b/mxf.c	Tue Oct 17 11:30:22 2006 +0000
@@ -265,6 +265,7 @@
             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 */