mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
35342dc390
commit
153cf85b24
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue