From 952f231588c18cd1a95e001c517f2d529017363f Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Thu, 10 Feb 2011 12:21:19 +0000 Subject: [PATCH] Remove incorrect return statement from avcodec_thread_free() The function return type is void, so a return statement with an expression is forbidden (and pointless). Signed-off-by: Mans Rullgard (cherry picked from commit b4668274b944abae61759e796c5cc36ade510f24) --- libavcodec/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 8e5cfd5a82..2d62f079c4 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1340,7 +1340,7 @@ int avcodec_thread_init(AVCodecContext *s, int thread_count) void avcodec_thread_free(AVCodecContext *s) { #if HAVE_THREADS - return ff_thread_free(s); + ff_thread_free(s); #endif }