lavf: Explicitly convert types at function pointer assignment
This fixes a number of "assignment from incompatible pointer type" warnings.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user