1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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 b4668274b9)
This commit is contained in:
Mans Rullgard 2011-02-10 12:21:19 +00:00 committed by Michael Niedermayer
parent 7e1e8bf335
commit 952f231588

View File

@ -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
}