History

avcodec/fic: Remove redundant logmessage

ff_reget_buffer() emits its own logmessage on error.

Andreas Rheinhardt committed 1 year ago

Commit 4c69f301 parent 12ae9871 file · +4 −5Browse files

Unified · Split

libavcodec/fic.c+4−5
@@ -422,11 +422,10 @@ static int fic_decode_frame(AVCodecContext *avctx, AVFrame *rframe, · 421 unmodified lines
422 422
423 /* Draw cursor if needed. */423 /* Draw cursor if needed. */
424 if (!skip_cursor) {424 if (!skip_cursor) {
425 /* Make sure we use a user-supplied buffer. */425 /* Make frame writable. */
426 if ((ret = ff_reget_buffer(avctx, ctx->final_frame, 0)) < 0) {426 ret = ff_reget_buffer(avctx, ctx->final_frame, 0);
427 av_log(avctx, AV_LOG_ERROR, "Could not make frame writable.\n");427 if (ret < 0)
428 return ret;428 return ret;
429 }
430 429
431 fic_draw_cursor(avctx, src + CURSOR_OFFSET, cur_x, cur_y);430 fic_draw_cursor(avctx, src + CURSOR_OFFSET, cur_x, cur_y);
432 }431 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t