From 3858a227ce9b334794e6bca65e9018703fd24dda Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 31 Dec 2007 16:43:35 +0000 Subject: [PATCH] More verbose aspect ratio error msg. Originally committed as revision 11362 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/nutdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index c4cdb14dd3..9b56142d53 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -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.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 */