summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-02-10 12:21:19 +0000
committerMans Rullgard <mans@mansr.com>2011-02-10 14:17:24 +0000
commitb4668274b944abae61759e796c5cc36ade510f24 (patch)
treec300be564eec90057ce50e3282fbd24a5564ea44 /libavcodec
parentdbb09ec23f16cb5e4ec3d4e0911dae0beb95869b (diff)
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 <mans@mansr.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 03018b894f..c4bba376bb 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1298,7 +1298,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
}