Module: ffmpeg Branch: master Commit: b4668274b944abae61759e796c5cc36ade510f24
Author: Mans Rullgard <[email protected]> Date: Thu Feb 10 12:21:19 2011 +0000 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 <[email protected]> --- libavcodec/utils.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 03018b8..c4bba37 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 } _______________________________________________ ffmpeg-commits mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-commits
