projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9325d88
)
mpeg: Suppress a compiler warning on callback type
author
Luca Barbato
<lu_zero@gentoo.org>
Wed, 6 Aug 2014 01:31:58 +0000
(
03:31
+0200)
committer
Luca Barbato
<lu_zero@gentoo.org>
Sat, 9 Aug 2014 19:39:36 +0000
(21:39 +0200)
libavformat/mpegenc.c
patch
|
blob
|
history
diff --git
a/libavformat/mpegenc.c
b/libavformat/mpegenc.c
index
d020c9d
..
1ba7647
100644
(file)
--- 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 =