Commit 018d0ff9 authored by Aurelien Jacobs's avatar Aurelien Jacobs

skip unsupported audio track data

Originally committed as revision 10806 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a2c9473d
......@@ -296,6 +296,10 @@ static int ea_read_packet(AVFormatContext *s,
switch (chunk_type) {
/* audio data */
case SCDl_TAG:
if (!ea->audio_codec) {
url_fskip(pb, chunk_size);
break;
}
ret = av_get_packet(pb, pkt, chunk_size);
if (ret != chunk_size)
ret = AVERROR(EIO);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment