changeset 3368:4a233106ccd0 libavformat

use av_fifo_generic_write, old func is deprecated
author bcoudurier
date Tue, 27 May 2008 01:26:22 +0000
parents dc671b723b25
children 026b8ba58408
files gxfenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gxfenc.c	Tue May 27 01:19:19 2008 +0000
+++ b/gxfenc.c	Tue May 27 01:26:22 2008 +0000
@@ -793,7 +793,7 @@
         GXFStreamContext *sc = &gxf->streams[i];
         if (st->codec->codec_type == CODEC_TYPE_AUDIO) {
             if (pkt && pkt->stream_index == i) {
-                av_fifo_write(&sc->audio_buffer, pkt->data, pkt->size);
+                av_fifo_generic_write(&sc->audio_buffer, pkt->data, pkt->size, NULL);
                 pkt = NULL;
             }
             if (flush || av_fifo_size(&sc->audio_buffer) >= GXF_AUDIO_PACKET_SIZE) {