[FFmpeg-cvslog] better failure message for img2enc

rogerdpack git at videolan.org
Fri Dec 21 21:22:43 CET 2012


ffmpeg | branch: master | rogerdpack <rogerpack2005 at gmail.com> | Thu Dec 20 09:53:30 2012 -0700| [d828bae9d244388dcb3a4b442f59606ca6cdb5aa] | committer: Michael Niedermayer

better failure message for img2enc

Signed-off-by: rogerdpack <rogerpack2005 at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d828bae9d244388dcb3a4b442f59606ca6cdb5aa
---

 libavformat/img2enc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c
index 9621d3c..8f1bb3d52 100644
--- a/libavformat/img2enc.c
+++ b/libavformat/img2enc.c
@@ -78,7 +78,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
         if (av_get_frame_filename(filename, sizeof(filename),
                                   img->path, img->img_number) < 0 && img->img_number > 1 && !img->updatefirst) {
             av_log(s, AV_LOG_ERROR,
-                   "Could not get frame filename number %d from pattern '%s'\n",
+                   "Could not get frame filename number %d from pattern '%s' (either set updatefirst or use a pattern like %03d within the filename pattern)\n",
                    img->img_number, img->path);
             return AVERROR(EINVAL);
         }



More information about the ffmpeg-cvslog mailing list