cmdutils: dont return void from a void function
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Jun 2012 00:38:01 +0000 (02:38 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Jun 2012 00:38:01 +0000 (02:38 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
cmdutils.c

index 774c5fc..bce87a6 100644 (file)
@@ -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;