mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
skip packet if no stream index is found, fix proxy_pal030926.mxf
Originally committed as revision 6721 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ee71ef5cf4
commit
4d6ac1a47b
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user