[FFmpeg-cvslog] r12295 - trunk/libavformat/avidec.c
michael
subversion
Mon Mar 3 02:23:18 CET 2008
Author: michael
Date: Mon Mar 3 02:23:18 2008
New Revision: 12295
Log:
Print slightly more usefull info.
Modified:
trunk/libavformat/avidec.c
Modified: trunk/libavformat/avidec.c
==============================================================================
--- trunk/libavformat/avidec.c (original)
+++ trunk/libavformat/avidec.c Mon Mar 3 02:23:18 2008
@@ -488,8 +488,8 @@ static int avi_read_header(AVFormatConte
break;
case CODEC_TYPE_AUDIO:
get_wav_header(pb, st->codec, size);
- if(ast->sample_size && st->codec->block_align && ast->sample_size % st->codec->block_align)
- av_log(s, AV_LOG_DEBUG, "invalid sample size or block align detected\n");
+ if(ast->sample_size && st->codec->block_align && ast->sample_size != st->codec->block_align)
+ av_log(s, AV_LOG_WARNING, "sample size (%d) != block align (%d)\n", ast->sample_size, st->codec->block_align);
if (size%2) /* 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
More information about the ffmpeg-cvslog
mailing list