Mercurial > libavformat.hg
changeset 2874:732885f612e9 libavformat
More verbose aspect ratio error msg.
author | michael |
---|---|
date | Mon, 31 Dec 2007 16:43:35 +0000 |
parents | 3fad6c2f343a |
children | acc9a7c3baea |
files | nutdec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/nutdec.c Sat Dec 29 20:49:03 2007 +0000 +++ b/nutdec.c Mon Dec 31 16:43:35 2007 +0000 @@ -330,7 +330,7 @@ st->codec->sample_aspect_ratio.num= 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)){ - 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; } ff_get_v(bc); /* csp type */