mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 04:41:16 +00:00
libav: Fix signature of avprotocol write function for ffmpeg 7
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6505>
This commit is contained in:
parent
9d465d9e68
commit
0871a55c8a
1 changed files with 4 additions and 0 deletions
|
@ -102,7 +102,11 @@ gst_ffmpegdata_read (void *priv_data, unsigned char *buf, int size)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
#if LIBAVUTIL_VERSION_MAJOR >= 59
|
||||||
|
gst_ffmpegdata_write (void *priv_data, const uint8_t * buf, int size)
|
||||||
|
#else
|
||||||
gst_ffmpegdata_write (void *priv_data, uint8_t * buf, int size)
|
gst_ffmpegdata_write (void *priv_data, uint8_t * buf, int size)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
GstProtocolInfo *info;
|
GstProtocolInfo *info;
|
||||||
GstBuffer *outbuf;
|
GstBuffer *outbuf;
|
||||||
|
|
Loading…
Reference in a new issue