diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-02-10 16:02:30 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2015-03-11 23:53:13 +0100 |
commit | b97f427fb56bdbf7de8e2d4b72d01114aa6eceda (patch) | |
tree | 762989f66a785b247066957407fac9148e8f4ec2 /libavformat/swfenc.c | |
parent | 9c8074050745184a61059ad56045ad711299e33d (diff) | |
download | ffmpeg-b97f427fb56bdbf7de8e2d4b72d01114aa6eceda.tar.gz |
lavf: Explicitly convert types at function pointer assignment
This fixes a number of "assignment from incompatible pointer type" warnings.
Diffstat (limited to 'libavformat/swfenc.c')
-rw-r--r-- | libavformat/swfenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c index a1fc7b337c..877c847acb 100644 --- a/libavformat/swfenc.c +++ b/libavformat/swfenc.c @@ -427,7 +427,8 @@ static int swf_write_video(AVFormatContext *s, put_swf_tag(s, TAG_STREAMBLOCK | TAG_LONG); avio_wl16(pb, swf->sound_samples); avio_wl16(pb, 0); // seek samples - av_fifo_generic_read(swf->audio_fifo, pb, frame_size, &avio_write); + av_fifo_generic_read(swf->audio_fifo, pb, frame_size, + (void (*)(void *, void *, int)) &avio_write); put_swf_end_tag(s); /* update FIFO */ |