mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Fix for odd strf tag in Stargate SG-1 - 3x18 - Shades of Grey.avi
Originally committed as revision 1350 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8ff323888c
commit
1cef952731
@ -159,6 +159,8 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
||||
break;
|
||||
case CODEC_TYPE_AUDIO:
|
||||
get_wav_header(pb, &st->codec, (size >= 18));
|
||||
if (size%2) /* 2-aligned (fix for Stargate SG-1 - 3x18 - Shades of Grey.avi) */
|
||||
url_fskip(pb, 1);
|
||||
break;
|
||||
default:
|
||||
url_fskip(pb, size);
|
||||
|
Loading…
Reference in New Issue
Block a user