Commit a623d18e authored by mmu_man's avatar mmu_man

Fix for odd strf tag in Stargate SG-1 - 3x18 - Shades of Grey.avi


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1350 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ff437ad0
......@@ -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);
......
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