diff options
author | rogerdpack <rogerpack2005@gmail.com> | 2012-12-20 20:53:30 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-22 00:18:12 +0400 |
commit | d828bae9d244388dcb3a4b442f59606ca6cdb5aa (patch) | |
tree | 91f0b05e19b28281cb051d9336120f47714248d7 /libavformat/img2enc.c | |
parent | 0e3a4da106ee49cec8688603365a59f24a17ea1f (diff) |
better failure message for img2enc
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/img2enc.c')
-rw-r--r-- | libavformat/img2enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c index 9621d3c0ea..8f1bb3d52f 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); } |