mirror of https://git.ffmpeg.org/ffmpeg.git
cmdutils: dont return void from a void function
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
dfaf2dd956
commit
8f1b139c10
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue