1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-02 17:12:49 +02:00

better failure message for img2enc

Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
rogerdpack 2012-12-20 09:53:30 -07:00 committed by Michael Niedermayer
parent 0e3a4da106
commit d828bae9d2

View File

@ -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);
}