Skip to content

Commit a56e453

Browse files
committed
Initial commit
1 parent 3351bea commit a56e453

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/m3u8.c

+11-3
Original file line numberDiff line numberDiff line change
@@ -3656,7 +3656,7 @@ int m3u8playlist_load_file(
36563656
absolute_path = expand_filename(filename);
36573657

36583658
if (absolute_path == NULL) {
3659-
err = M3U8ERR_FSTREAM_OPEN_FAILURE;
3659+
err = M3U8ERR_EXPAND_FILENAME_FAILURE;
36603660
goto end;
36613661
}
36623662

@@ -3715,7 +3715,11 @@ int m3u8playlist_load_file(
37153715
goto end;
37163716
}
37173717

3718-
err = m3u8playlist_seturi(playlist, M3U8_BASE_URI_TYPE_LOCAL_FILE, absolute_path);
3718+
err = m3u8playlist_seturi(
3719+
playlist,
3720+
M3U8_BASE_URI_TYPE_LOCAL_FILE,
3721+
absolute_path
3722+
);
37193723

37203724
if (err != M3U8ERR_SUCCESS) {
37213725
goto end;
@@ -3820,7 +3824,11 @@ int m3u8playlist_load_url(
38203824
goto end;
38213825
}
38223826

3823-
err = m3u8playlist_seturi(playlist, M3U8_BASE_URI_TYPE_URL, effective_url);
3827+
err = m3u8playlist_seturi(
3828+
playlist,
3829+
M3U8_BASE_URI_TYPE_URL,
3830+
effective_url
3831+
);
38243832

38253833
if (err != M3U8ERR_SUCCESS) {
38263834
goto end;

0 commit comments

Comments
 (0)