driver/streamts.cpp: fix webtv stream open

Origin commit data
------------------
Commit: 97d7dc2e6b
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2016-02-05 (Fri, 05 Feb 2016)
This commit is contained in:
[CST] Focus
2016-02-05 19:26:39 +03:00
parent c4903faa45
commit 9a6f35757f

View File

@@ -764,6 +764,11 @@ bool CStreamStream::Open()
if (url.empty())
return false;
//av_log_set_level(AV_LOG_VERBOSE);
av_register_all();
avcodec_register_all();
avformat_network_init();
printf("%s: Open input [%s]....\n", __FUNCTION__, url.c_str());
AVDictionary *options = NULL;