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 907096a..9792281 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);
     }
 }