Commit 65cf4855 authored by aurel's avatar aurel

skip unsupported audio track data

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10806 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9bb48d9f
...@@ -296,6 +296,10 @@ static int ea_read_packet(AVFormatContext *s, ...@@ -296,6 +296,10 @@ static int ea_read_packet(AVFormatContext *s,
switch (chunk_type) { switch (chunk_type) {
/* audio data */ /* audio data */
case SCDl_TAG: case SCDl_TAG:
if (!ea->audio_codec) {
url_fskip(pb, chunk_size);
break;
}
ret = av_get_packet(pb, pkt, chunk_size); ret = av_get_packet(pb, pkt, chunk_size);
if (ret != chunk_size) if (ret != chunk_size)
ret = AVERROR(EIO); 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