You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
fftools/ffmpeg_mux_init: fix an array declaration
map_func is supposed to be an array of const pointer to function returning int, not an array of pointer to function returning const int. Reported-By: Martin Storsjö
This commit is contained in:
@@ -1648,7 +1648,7 @@ read_fail:
|
||||
|
||||
static int create_streams(Muxer *mux, const OptionsContext *o)
|
||||
{
|
||||
static const int (*map_func[])(Muxer *mux, const OptionsContext *o) = {
|
||||
static int (* const map_func[])(Muxer *mux, const OptionsContext *o) = {
|
||||
[AVMEDIA_TYPE_VIDEO] = map_auto_video,
|
||||
[AVMEDIA_TYPE_AUDIO] = map_auto_audio,
|
||||
[AVMEDIA_TYPE_SUBTITLE] = map_auto_subtitle,
|
||||
|
Reference in New Issue
Block a user