mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 22:25:36 +01:00
Merge commit 'b97f427fb56bdbf7de8e2d4b72d01114aa6eceda'
* commit 'b97f427fb56bdbf7de8e2d4b72d01114aa6eceda':
lavf: Explicitly convert types at function pointer assignment
Conflicts:
libavformat/avio.c
libavformat/aviobuf.c
libavformat/swfenc.c
See: a76a2ffe9d and others
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -778,7 +778,9 @@ int ffio_fdopen(AVIOContext **s, URLContext *h)
|
||||
return AVERROR(ENOMEM);
|
||||
|
||||
*s = avio_alloc_context(buffer, buffer_size, h->flags & AVIO_FLAG_WRITE, h,
|
||||
(void*)ffurl_read, (void*)ffurl_write, (void*)ffurl_seek);
|
||||
(int (*)(void *, uint8_t *, int)) ffurl_read,
|
||||
(int (*)(void *, uint8_t *, int)) ffurl_write,
|
||||
(int64_t (*)(void *, int64_t, int)) ffurl_seek);
|
||||
if (!*s) {
|
||||
av_free(buffer);
|
||||
return AVERROR(ENOMEM);
|
||||
|
||||
Reference in New Issue
Block a user