summaryrefslogtreecommitdiff
path: root/libavformat/mpegenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-04-24 17:46:50 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-24 17:46:50 +0200
commite3323a1cbdadef21a6cbc98bc6c3e24457b45eab (patch)
treea7c6d8f49933071939efa774c04b758b3d435a5a /libavformat/mpegenc.c
parent47ec6546d240e3d9a8f76f25e127dcb4a3a9f7b9 (diff)
Fix some passing argument from incompatible pointer type warnings.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mpegenc.c')
-rw-r--r--libavformat/mpegenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
index 0c86df1eea..e42fac4ceb 100644
--- a/libavformat/mpegenc.c
+++ b/libavformat/mpegenc.c
@@ -923,7 +923,7 @@ 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);
+ av_fifo_generic_read(stream->fifo, ctx->pb, payload_size - stuffing_size, (void*)avio_write);
stream->bytes_to_iframe -= payload_size - stuffing_size;
}else{
payload_size=