[FFmpeg-cvslog] cmdutils: dont return void from a void function

Michael Niedermayer git at videolan.org
Sun Jun 10 02:41:01 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jun 10 02:38:01 2012 +0200| [8f1b139c103587d1f6c7b455632b2d8b8b2766dc] | committer: Michael Niedermayer

cmdutils: dont return void from a void function

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8f1b139c103587d1f6c7b455632b2d8b8b2766dc
---

 cmdutils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmdutils.c b/cmdutils.c
index 774c5fc..bce87a6 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -1344,7 +1344,7 @@ void codec_release_buffer(AVCodecContext *s, AVFrame *frame)
     int i;
 
     if(frame->type!=FF_BUFFER_TYPE_USER)
-        return avcodec_default_release_buffer(s, frame);
+        avcodec_default_release_buffer(s, frame);
 
     for (i = 0; i < FF_ARRAY_ELEMS(frame->data); i++)
         frame->data[i] = NULL;



More information about the ffmpeg-cvslog mailing list