Skip to content

Commit aca3f78

Browse files
committed
Update to GCC 14.1.0
1 parent edba8cb commit aca3f78

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/ffmpegc_muxer.c

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ static const char* const FFMPEG_DEFAULT_INPUT_FLAGS[] = {
1313
};
1414

1515
static const char* const FFMPEG_DEFAULT_OUTPUT_FLAGS[] = {
16-
"-map", "a",
1716
"-c", "copy",
1817
"-movflags", "+faststart",
1918
"-max_interleave_delta", "0",

src/m3u8stream.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -1919,7 +1919,7 @@ int m3u8stream_parse(struct M3U8Stream* const stream) {
19191919
*/
19201920
for (subindex = 0; subindex < stream->offset; subindex++) {
19211921
const struct M3U8StreamItem* const item = &stream->items[subindex];
1922-
struct M3U8Media* const media = (struct M3U8Media*) item->item;
1922+
struct M3U8Media* const media = item->item;
19231923

19241924
if (!(item->type == M3U8_STREAM_MEDIA && media->type == M3U8_MEDIA_TYPE_AUDIO)) {
19251925
continue;
@@ -1952,7 +1952,7 @@ int m3u8stream_parse(struct M3U8Stream* const stream) {
19521952
*/
19531953
for (subindex = 0; subindex < stream->offset; subindex++) {
19541954
const struct M3U8StreamItem* const item = &stream->items[subindex];
1955-
struct M3U8Media* const media = (struct M3U8Media*) item->item;
1955+
struct M3U8Media* const media = item->item;
19561956

19571957
if (!(item->type == M3U8_STREAM_MEDIA && media->type == M3U8_MEDIA_TYPE_VIDEO)) {
19581958
continue;
@@ -1985,7 +1985,7 @@ int m3u8stream_parse(struct M3U8Stream* const stream) {
19851985
*/
19861986
for (subindex = 0; subindex < stream->offset; subindex++) {
19871987
const struct M3U8StreamItem* const item = &stream->items[subindex];
1988-
struct M3U8Media* const media = (struct M3U8Media*) item->item;
1988+
struct M3U8Media* const media = item->item;
19891989

19901990
if (!(item->type == M3U8_STREAM_MEDIA && media->type == M3U8_MEDIA_TYPE_SUBTITLES)) {
19911991
continue;
@@ -2020,7 +2020,7 @@ int m3u8stream_parse(struct M3U8Stream* const stream) {
20202020
*/
20212021
for (subindex = 0; subindex < stream->offset; subindex++) {
20222022
const struct M3U8StreamItem* const item = &stream->items[subindex];
2023-
struct M3U8Media* const media = (struct M3U8Media*) item->item;
2023+
struct M3U8Media* const media = item->item;
20242024

20252025
if (!(item->type == M3U8_STREAM_MEDIA && media->type == M3U8_MEDIA_TYPE_CLOSED_CAPTIONS)) {
20262026
continue;

0 commit comments

Comments
 (0)