X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fdvb%2Ftstools.cpp;h=1403059ffcdefc75fe3f2c8cb1a0bedc201c2514;hp=bd3630893b860933ebdc605410f2586f98576409;hb=ce38faaf7ce4c1320fa42109c13a60d74ab8cd9c;hpb=55b8dd6115c2bb0921842c6dc77aafb8d0a40c4f diff --git a/lib/dvb/tstools.cpp b/lib/dvb/tstools.cpp index bd36308..1403059 100644 --- a/lib/dvb/tstools.cpp +++ b/lib/dvb/tstools.cpp @@ -35,17 +35,17 @@ eDVBTSTools::~eDVBTSTools() int eDVBTSTools::openFile(const char *filename, int nostreaminfo) { eRawFile *f = new eRawFile(); - ePtr src = f; + ePtr src = f; if (f->open(filename, 1) < 0) return -1; - setSource(src, filename); + setSource(src, nostreaminfo ? NULL : filename); return 0; } -void eDVBTSTools::setSource(ePtr &source, const char *stream_info_filename) +void eDVBTSTools::setSource(ePtr &source, const char *stream_info_filename) { closeFile();