diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-04-24 19:46:50 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-24 19:46:50 +0400 |
commit | e3323a1cbdadef21a6cbc98bc6c3e24457b45eab (patch) | |
tree | a7c6d8f49933071939efa774c04b758b3d435a5a /libavformat/mpegenc.c | |
parent | 47ec6546d240e3d9a8f76f25e127dcb4a3a9f7b9 (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.c | 2 |
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= |