aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-02-10 12:21:19 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-02-11 02:54:09 +0100
commit952f231588c18cd1a95e001c517f2d529017363f (patch)
tree94c71fc298b16edf7191c2fca0fdbf4913d7e63f /libavcodec
parent7e1e8bf335cc7d6a5fa0d24b4769f221dab2c4a2 (diff)
downloadffmpeg-952f231588c18cd1a95e001c517f2d529017363f.tar.gz
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> (cherry picked from commit b4668274b944abae61759e796c5cc36ade510f24)
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 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
}