1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avcodec/fic: Remove redundant logmessage

ff_reget_buffer() emits its own logmessage on error.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-06-23 04:01:15 +02:00
parent 12ae987a6a
commit 4c69f302a9

View File

@ -422,11 +422,10 @@ static int fic_decode_frame(AVCodecContext *avctx, AVFrame *rframe,
/* Draw cursor if needed. */
if (!skip_cursor) {
/* Make sure we use a user-supplied buffer. */
if ((ret = ff_reget_buffer(avctx, ctx->final_frame, 0)) < 0) {
av_log(avctx, AV_LOG_ERROR, "Could not make frame writable.\n");
/* Make frame writable. */
ret = ff_reget_buffer(avctx, ctx->final_frame, 0);
if (ret < 0)
return ret;
}
fic_draw_cursor(avctx, src + CURSOR_OFFSET, cur_x, cur_y);
}