- Timestamp:
- 11/27/17 19:24:22 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/libeplayer3/container/container_ffmpeg.c
r41219 r41312 1590 1590 av_dict_set(&avio_opts, "timeout", "20000000", 0); //20sec 1591 1591 //obi 1592 char* cookie = NULL, *tmpstr1 = NULL, *tmpstr2 = NULL, *tmpstr3 = NULL, * headers = NULL, *useragent = NULL;1592 char* cookie = NULL, *tmpstr1 = NULL, *tmpstr2 = NULL, *tmpstr3 = NULL, *tmpstr4 = NULL, *headers = NULL, *useragent = NULL; 1593 1593 int count = 0, count1 = 0, count2 = 0, count3 = 0, i = 0, i1 = 0, i2 = 0, i3 = 0; 1594 1594 struct splitstr* ret1 = NULL; … … 1652 1652 1653 1653 ffmpeg_printf(10, "check user-agent and header\n"); 1654 tmpstr4 = ostrcat(filename, NULL, 0, 0); 1654 1655 1655 1656 if(ostrstr(filename, "|") != NULL) … … 1728 1729 1729 1730 } 1730 1731 1731 ffmpeg_printf(10, "check tslivemode\n"); 1732 1732 1733 if (ostrstr(filename, ".m3u8") != NULL) 1733 // if (ostrstr(filename, ".m3u8") != NULL) 1734 if (ostrstr(tmpstr4, "&tslivemode=1") != NULL) 1734 1735 { 1735 1736 ffmpeg_printf(10, "set tslivemode\n"); … … 1746 1747 } 1747 1748 } 1748 1749 free(tmpstr4), tmpstr4 = NULL; 1750 1749 1751 pavio_opts = &avio_opts; 1750 1752
Note: See TracChangeset
for help on using the changeset viewer.