From f86915f15e9c681bd91abfc444248098654e4c35 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sun, 24 Apr 2011 18:40:32 +0200 Subject: [PATCH] Fix typo, goto before ret assignment --- src/artwork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/artwork.c b/src/artwork.c index 419f370a..dee2d050 100644 --- a/src/artwork.c +++ b/src/artwork.c @@ -238,8 +238,8 @@ artwork_rescale(AVFormatContext *src_ctx, int s, int out_w, int out_h, int forma { DPRINTF(E_LOG, L_ART, "Could not determine best pixel format\n"); - goto out_free_dst; ret = -1; + goto out_free_dst; } DPRINTF(E_DBG, L_ART, "Selected pixel format: %d\n", dst->pix_fmt);