lavf: use av_fifo_freep

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
This commit is contained in:
Lukasz Marek
2014-05-06 21:48:14 +02:00
parent a5f2f33a67
commit ce1eefe691
5 changed files with 7 additions and 8 deletions

View File

@@ -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);
}
}