projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2c9473
)
skip unsupported audio track data
author
Aurelien Jacobs
<aurel@gnuage.org>
Thu, 18 Oct 2007 23:50:52 +0000
(23:50 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Thu, 18 Oct 2007 23:50:52 +0000
(23:50 +0000)
Originally committed as revision 10806 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/electronicarts.c
patch
|
blob
|
history
diff --git
a/libavformat/electronicarts.c
b/libavformat/electronicarts.c
index
c16a80a
..
f093e8e
100644
(file)
--- a/
libavformat/electronicarts.c
+++ b/
libavformat/electronicarts.c
@@
-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);