summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Joseph <tom-lists@jambon.ll>2006-01-04 17:07:30 +0000
committerDiego Biurrun <diego@biurrun.de>2006-01-04 17:07:30 +0000
commitee0d2803ecf34db3d03680e350397e52451795c4 (patch)
treeef1796dc6ef7a2d6c52b4dbcb706edc7eeaa4aa0
parent27c61ac53df2876b80633ec5b69229d06f466131 (diff)
H.263: more descriptive error message
patch by Tom Joseph < tom-lists @@ @ @@ jambon @@ dot @@ ll @@ dot @@ cx > Originally committed as revision 4812 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/mpegvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index f08dbb8138..8e0a09be9d 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1139,7 +1139,7 @@ int MPV_encode_init(AVCodecContext *avctx)
break;
case CODEC_ID_H263:
if (h263_get_picture_format(s->width, s->height) == 7) {
- av_log(avctx, AV_LOG_INFO, "Input picture size isn't suitable for h263 codec! try h263+\n");
+ av_log(avctx, AV_LOG_INFO, "The specified picture size of %dx%d is not valid for the H.263 codec.\nValid sizes are 128x96, 176x144, 352x288, 704x576, and 1408x1152. Try H.263+.\n", s->width, s->height);
return -1;
}
s->out_format = FMT_H263;