diff options
Diffstat (limited to 'libavformat/gxfenc.c')
-rw-r--r-- | libavformat/gxfenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c index e47f45e..588a223 100644 --- a/libavformat/gxfenc.c +++ b/libavformat/gxfenc.c @@ -793,7 +793,7 @@ static int gxf_interleave_packet(AVFormatContext *s, AVPacket *out, AVPacket *pk 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) { |