aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-12-31 16:43:35 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-12-31 16:43:35 +0000
commit3858a227ce9b334794e6bca65e9018703fd24dda (patch)
tree9108ea716296a4f1f96580cfdfe1536a2cdb4bf9 /libavformat
parente640a5c4ce8679ad9f5469753a6ed9c6db945d89 (diff)
downloadffmpeg-3858a227ce9b334794e6bca65e9018703fd24dda.tar.gz
More verbose aspect ratio error msg.
Originally committed as revision 11362 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/nutdec.c2
1 files changed, 1 insertions, 1 deletions
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 */