Mercurial > libavformat.hg
changeset 13:8a5285a0ca2f libavformat
Fix for odd strf tag in Stargate SG-1 - 3x18 - Shades of Grey.avi
author | mmu_man |
---|---|
date | Fri, 20 Dec 2002 21:05:59 +0000 |
parents | d58c983a19a7 |
children | b167760cd0aa |
files | avidec.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);