diff options
author | Peter Ross <pross@xvid.org> | 2008-07-30 07:41:32 +0000 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2008-07-30 07:41:32 +0000 |
commit | af8ed96f45c64f6d4c4ca99374f869d21afd6d9d (patch) | |
tree | ea2a0b9352b97e17120e641d7af56ce3a0b1d469 | |
parent | f07fd8c08c5736249ff6c35a1353577da9c4036d (diff) | |
download | ffmpeg-af8ed96f45c64f6d4c4ca99374f869d21afd6d9d.tar.gz |
EA Demuxer: make rev2 flag optional
Originally committed as revision 14474 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/electronicarts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index 7a7207b45c..6b2ced265b 100644 --- a/libavformat/electronicarts.c +++ b/libavformat/electronicarts.c @@ -178,6 +178,7 @@ static int process_audio_header_elements(AVFormatContext *s) } switch (revision2) { case 8: ea->audio_codec = CODEC_ID_PCM_S16LE_PLANAR; break; + case -1: break; default: av_log(s, AV_LOG_ERROR, "unsupported stream type; revision2=%i\n", revision2); return 0; |