diff options
author | Mans Rullgard <mans@mansr.com> | 2011-02-10 15:21:19 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-11 04:54:09 +0300 |
commit | 952f231588c18cd1a95e001c517f2d529017363f (patch) | |
tree | 94c71fc298b16edf7191c2fca0fdbf4913d7e63f /libavcodec/utils.c | |
parent | 7e1e8bf335cc7d6a5fa0d24b4769f221dab2c4a2 (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>
(cherry picked from commit b4668274b944abae61759e796c5cc36ade510f24)
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 2 |
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 } |