diff options
author | Sebastian Vater <cdgs.basty@googlemail.com> | 2010-04-20 17:05:02 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-04-20 17:05:02 +0000 |
commit | bf29cbc2cc771e544174f87c5563f85a060f93b9 (patch) | |
tree | a257e3c728f7146e87fc238fc05c62750056eaaa /libavformat | |
parent | 353285d7406d0581207302af8d3e6bf2652a70c5 (diff) | |
download | ffmpeg-bf29cbc2cc771e544174f87c5563f85a060f93b9.tar.gz |
Change a %2 to &1. Patch by Sebastian Vater <cdgs DOT basty googlemail com>.
Originally committed as revision 22922 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-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 c9e657ee85..34583c52d2 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -560,7 +560,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap) av_log(s, AV_LOG_WARNING, "sample size (%d) != block align (%d)\n", ast->sample_size, st->codec->block_align); ast->sample_size= st->codec->block_align; } - if (size%2) /* 2-aligned (fix for Stargate SG-1 - 3x18 - Shades of Grey.avi) */ + if (size&1) /* 2-aligned (fix for Stargate SG-1 - 3x18 - Shades of Grey.avi) */ url_fskip(pb, 1); /* Force parsing as several audio frames can be in * one packet and timestamps refer to packet start. */ |