[FFmpeg-cvslog] r22922 - trunk/libavformat/avidec.c
rbultje
subversion
Tue Apr 20 19:05:03 CEST 2010
Author: rbultje
Date: Tue Apr 20 19:05:02 2010
New Revision: 22922
Log:
Change a %2 to &1. Patch by Sebastian Vater <cdgs DOT basty googlemail com>.
Modified:
trunk/libavformat/avidec.c
Modified: trunk/libavformat/avidec.c
==============================================================================
--- trunk/libavformat/avidec.c Tue Apr 20 16:45:34 2010 (r22921)
+++ trunk/libavformat/avidec.c Tue Apr 20 19:05:02 2010 (r22922)
@@ -560,7 +560,7 @@ static int avi_read_header(AVFormatConte
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. */
More information about the ffmpeg-cvslog
mailing list