diff options
author | Roman Shaposhnik <roman@shaposhnik.org> | 2003-03-12 01:35:47 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-03-12 01:35:47 +0000 |
commit | 2e7973bbe7c8c98acb0bd9cdd828a6f8cba02e98 (patch) | |
tree | 57eea2484a6457a2bf1954ded6f354601241d1a5 /libavformat/avidec.c | |
parent | 69db4e10f27abe4d3a7036d5cdb29e1f9745c7a4 (diff) | |
download | ffmpeg-streaming-2e7973bbe7c8c98acb0bd9cdd828a6f8cba02e98.zip ffmpeg-streaming-2e7973bbe7c8c98acb0bd9cdd828a6f8cba02e98.tar.gz |
correct AUDIO strf parsing patch by (Roman Shaposhnick <rvs at sun dot com>)
Originally committed as revision 1664 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index ccf8f6e..6d23f07 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -187,7 +187,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap) // url_fskip(pb, size - 5 * 4); break; case CODEC_TYPE_AUDIO: - get_wav_header(pb, &st->codec, (size >= 18)); + get_wav_header(pb, &st->codec, size); if (size%2) /* 2-aligned (fix for Stargate SG-1 - 3x18 - Shades of Grey.avi) */ url_fskip(pb, 1); break; |