changeset 4670:b1feed18d106 libavformat

Replace all uses of the replaced av_fifo_read by av_fifo_generic_read
author reimar
date Sun, 08 Mar 2009 14:42:11 +0000
parents d6eb19c43e99
children 693f3be38033
files audiointerleave.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/audiointerleave.c	Sun Mar 08 14:16:55 2009 +0000
+++ b/audiointerleave.c	Sun Mar 08 14:42:11 2009 +0000
@@ -80,7 +80,7 @@
         return 0;
 
     av_new_packet(pkt, size);
-    av_fifo_read(aic->fifo, pkt->data, size);
+    av_fifo_generic_read(aic->fifo, size, NULL, pkt->data);
 
     pkt->dts = pkt->pts = aic->dts;
     pkt->duration = av_rescale_q(*aic->samples, st->time_base, aic->time_base);