[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec mpegvideo.c,1.501,1.502
Diego Biurrun CVS
diego
Wed Jan 4 18:07:33 CET 2006
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv23958/libavcodec
Modified Files:
mpegvideo.c
Log Message:
H.263: more descriptive error message
patch by Tom Joseph < tom-lists @@ @ @@ jambon @@ dot @@ ll @@ dot @@ cx >
Index: mpegvideo.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/mpegvideo.c,v
retrieving revision 1.501
retrieving revision 1.502
diff -u -d -r1.501 -r1.502
--- mpegvideo.c 29 Dec 2005 15:46:23 -0000 1.501
+++ mpegvideo.c 4 Jan 2006 17:07:30 -0000 1.502
@@ -1139,7 +1139,7 @@
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;
More information about the ffmpeg-cvslog
mailing list