[SCM] libav/experimental: mpeg: Suppress a compiler warning on callback type

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:04:18 UTC 2014


The following commit has been merged in the experimental branch:
commit 8c6f430291374cf6d2cfb85cdbb809803b5a7d83
Author: Luca Barbato <lu_zero at gentoo.org>
Date:   Wed Aug 6 03:31:58 2014 +0200

    mpeg: Suppress a compiler warning on callback type

diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
index d020c9d..1ba7647 100644
--- a/libavformat/mpegenc.c
+++ b/libavformat/mpegenc.c
@@ -850,7 +850,8 @@ static int flush_packet(AVFormatContext *ctx, int stream_index,
         /* output data */
         assert(payload_size - stuffing_size <= av_fifo_size(stream->fifo));
         av_fifo_generic_read(stream->fifo, ctx->pb,
-                             payload_size - stuffing_size, &avio_write);
+                             payload_size - stuffing_size,
+                             (void (*)(void*, void*, int))avio_write);
         stream->bytes_to_iframe -= payload_size - stuffing_size;
     } else {
         payload_size  =

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list