Skip to content

Commit

Permalink
Update to GCC 14.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartatz committed Jun 15, 2024
1 parent 52f7dc7 commit decfcba
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ffmpegc_muxer.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ static const char* const FFMPEG_DEFAULT_INPUT_FLAGS[] = {
"-y",
"-nostdin",
"-nostats",
"-allowed_extensions", "bin",
"-loglevel", "error"
};

Expand Down Expand Up @@ -46,7 +45,7 @@ int ffmpegc_mux_streams(char* const* const sources, const char* const destinatio
}

argc += 1; /* <command> */
argc += index * 2; /* -i <input> */
argc += index * 4; /* -i <input> */
argc += 1; /* <output> */

executable = find_exe("ffmpeg");
Expand Down Expand Up @@ -77,6 +76,9 @@ int ffmpegc_mux_streams(char* const* const sources, const char* const destinatio
break;
}

argv[argvpos++] = "-allowed_extensions";
argv[argvpos++] = "bin";

argv[argvpos++] = "-i";
argv[argvpos++] = (char*) item;
}
Expand Down Expand Up @@ -109,7 +111,6 @@ int ffmpegc_mux_streams(char* const* const sources, const char* const destinatio
strcat(command, arg);
strcat(command, " ");
}
puts(command);

if (execute_shell_command(command) != 0) {
err = M3U8ERR_FFMPEG_MUXING_FAILURE;
Expand Down

0 comments on commit decfcba

Please sign in to comment.