Commit 8f1b139c authored by Michael Niedermayer's avatar Michael Niedermayer

cmdutils: dont return void from a void function

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent dfaf2dd9
...@@ -1344,7 +1344,7 @@ void codec_release_buffer(AVCodecContext *s, AVFrame *frame) ...@@ -1344,7 +1344,7 @@ void codec_release_buffer(AVCodecContext *s, AVFrame *frame)
int i; int i;
if(frame->type!=FF_BUFFER_TYPE_USER) 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++) for (i = 0; i < FF_ARRAY_ELEMS(frame->data); i++)
frame->data[i] = NULL; frame->data[i] = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment