Commit d391bc86 authored by michael's avatar michael

More verbose aspect ratio error msg.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11362 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2829bdac
...@@ -330,7 +330,7 @@ static int decode_stream_header(NUTContext *nut){ ...@@ -330,7 +330,7 @@ static int decode_stream_header(NUTContext *nut){
st->codec->sample_aspect_ratio.num= ff_get_v(bc); st->codec->sample_aspect_ratio.num= ff_get_v(bc);
st->codec->sample_aspect_ratio.den= ff_get_v(bc); st->codec->sample_aspect_ratio.den= ff_get_v(bc);
if((!st->codec->sample_aspect_ratio.num) != (!st->codec->sample_aspect_ratio.den)){ if((!st->codec->sample_aspect_ratio.num) != (!st->codec->sample_aspect_ratio.den)){
av_log(s, AV_LOG_ERROR, "invalid aspect ratio\n"); av_log(s, AV_LOG_ERROR, "invalid aspect ratio %d/%d\n", st->codec->sample_aspect_ratio.num, st->codec->sample_aspect_ratio.den);
return -1; return -1;
} }
ff_get_v(bc); /* csp type */ ff_get_v(bc); /* csp type */
......
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