mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +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);
|
int index = mxf_get_stream_index(s, &klv);
|
||||||
if (index < 0) {
|
if (index < 0) {
|
||||||
av_log(s, AV_LOG_ERROR, "error getting stream index\n");
|
av_log(s, AV_LOG_ERROR, "error getting stream index\n");
|
||||||
|
url_fskip(&s->pb, klv.length);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
/* check for 8 channels AES3 element */
|
/* check for 8 channels AES3 element */
|
||||||
|
Loading…
Reference in New Issue
Block a user