Commit f5a313c9 authored by michael's avatar michael

Print slightly more usefull info.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12295 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b837165c
......@@ -488,8 +488,8 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment