# HG changeset patch # User mmu_man # Date 1040418359 0 # Node ID 8a5285a0ca2f3b133718abe8f61f4897250f3068 # Parent d58c983a19a7d93cbb9443ab2d62210213193b18 Fix for odd strf tag in Stargate SG-1 - 3x18 - Shades of Grey.avi diff -r d58c983a19a7 -r 8a5285a0ca2f avidec.c --- a/avidec.c Fri Dec 20 21:04:08 2002 +0000 +++ b/avidec.c Fri Dec 20 21:05:59 2002 +0000 @@ -159,6 +159,8 @@ 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);