Skip to content

Commit

Permalink
feat: 将文件长度从1024扩展到2048
Browse files Browse the repository at this point in the history
  • Loading branch information
biless committed Oct 29, 2023
1 parent 757fe72 commit 04efd18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ijkmedia/ijkplayer/ff_ffplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -4375,7 +4375,7 @@ int ffp_prepare_async_l(FFPlayer *ffp, const char *file_name)
}

/* there is a length limit in avformat */
if (strlen(file_name) + 1 > 1024) {
if (strlen(file_name) + 1 > 2048) {
av_log(ffp, AV_LOG_ERROR, "%s too long url\n", __func__);
if (avio_find_protocol_name("ijklongurl:")) {
av_dict_set(&ffp->format_opts, "ijklongurl-url", file_name, 0);
Expand Down

0 comments on commit 04efd18

Please sign in to comment.