Commit e18d9d90 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '8c6f4302'

* commit '8c6f4302':
  mpeg: Suppress a compiler warning on callback type

Conflicts:
	libavformat/mpegenc.c
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents a71fcfad 8c6f4302
......@@ -871,7 +871,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, (void*)avio_write);
payload_size - stuffing_size,
(void (*)(void*, void*, int))avio_write);
stream->bytes_to_iframe -= payload_size - stuffing_size;
} else {
payload_size =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment