mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
streamts: supplement to 086578fdb2a0133953b98171106699e8b04da8ea
Origin commit data
------------------
Commit: d6ba59a7a2
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-05-17 (Fri, 17 May 2019)
This commit is contained in:
@@ -861,7 +861,7 @@ bool CStreamStream::Open()
|
||||
snprintf(ifcx->filename, sizeof(ifcx->filename), "%s", channel->getUrl().c_str());
|
||||
av_dump_format(ifcx, 0, ifcx->filename, 0);
|
||||
#else
|
||||
snprintf(ifcx->url, channel->getUrl().size() + 1, "%s", channel->getUrl().c_str());
|
||||
ifcx->url = av_strdup(!channel->getUrl().empty() ? channel->getUrl().c_str() : "");
|
||||
av_dump_format(ifcx, 0, ifcx->url, 0);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user