ffmpeg: use av_fifo_freep
authorLukasz Marek <lukasz.m.luki2@gmail.com>
Tue, 6 May 2014 19:43:34 +0000 (21:43 +0200)
committerLukasz Marek <lukasz.m.luki2@gmail.com>
Wed, 7 May 2014 21:39:47 +0000 (23:39 +0200)
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
ffmpeg.c

index 907096a6ede6466a4258d46e28edb32f17bd3bf5..97922816ca3934d88418b9c81750d8610f5a79d6 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3116,7 +3116,7 @@ static void free_input_threads(void)
             av_fifo_generic_read(f->fifo, &pkt, sizeof(pkt), NULL);
             av_free_packet(&pkt);
         }
-        av_fifo_free(f->fifo);
+        av_fifo_freep(&f->fifo);
     }
 }