mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
streamts: supplement to 086578fdb2
This commit is contained in:
@@ -858,7 +858,7 @@ bool CStreamStream::Open()
|
|||||||
snprintf(ifcx->filename, sizeof(ifcx->filename), "%s", channel->getUrl().c_str());
|
snprintf(ifcx->filename, sizeof(ifcx->filename), "%s", channel->getUrl().c_str());
|
||||||
av_dump_format(ifcx, 0, ifcx->filename, 0);
|
av_dump_format(ifcx, 0, ifcx->filename, 0);
|
||||||
#else
|
#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);
|
av_dump_format(ifcx, 0, ifcx->url, 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user