lavf: use av_fifo_freep
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
This commit is contained in:
@@ -490,8 +490,7 @@ static int swf_write_trailer(AVFormatContext *s)
|
||||
if (enc->codec_type == AVMEDIA_TYPE_VIDEO)
|
||||
video_enc = enc;
|
||||
else {
|
||||
av_fifo_free(swf->audio_fifo);
|
||||
swf->audio_fifo = NULL;
|
||||
av_fifo_freep(&swf->audio_fifo);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user