1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02:00

screenshot: fix error message

This happens with JPG screenshots as well.
This commit is contained in:
wm4 2012-02-19 16:43:58 +01:00
parent f440a244e3
commit 7822eca9ac

View File

@ -81,7 +81,7 @@ static screenshot_ctx *screenshot_get_ctx(MPContext *mpctx)
static FILE *open_file(screenshot_ctx *ctx, char *fname) {
FILE *fp = fopen(fname, "wb");
if (fp == NULL)
mp_msg(MSGT_CPLAYER, MSGL_ERR, "\nPNG Error opening %s for writing!\n",
mp_msg(MSGT_CPLAYER, MSGL_ERR, "\nError opening %s for writing!\n",
fname);
return fp;
}