diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2017-03-26 15:58:46 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2017-03-26 15:58:46 +0200 |
commit | 8b12682035e2ae92a29a9ce12abc5fbcf38b1192 (patch) | |
tree | 1cc5c3fe9ef3b23557fc4e9e507fd0d23d007160 /mpeglib/lib/input/inputDetector.cpp | |
parent | 250d713ff809fa943f614459009d1160e269dcef (diff) | |
download | tdemultimedia-8b12682035e2ae92a29a9ce12abc5fbcf38b1192.tar.gz tdemultimedia-8b12682035e2ae92a29a9ce12abc5fbcf38b1192.zip |
Initial cmake conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'mpeglib/lib/input/inputDetector.cpp')
-rw-r--r-- | mpeglib/lib/input/inputDetector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mpeglib/lib/input/inputDetector.cpp b/mpeglib/lib/input/inputDetector.cpp index 28bcad5c..56fae0e2 100644 --- a/mpeglib/lib/input/inputDetector.cpp +++ b/mpeglib/lib/input/inputDetector.cpp @@ -119,7 +119,7 @@ char* InputDetector::getExtension(const char* url) { return NULL; } char* back=NULL; - char* extStart=strrchr(url,'.'); + const char* extStart=strrchr(url,'.'); if (extStart != NULL) { cout << "extStart:"<<extStart<<endl; back=strdup(extStart); @@ -172,7 +172,7 @@ char* InputDetector::getFilename(const char* url) { if (url == NULL) { return NULL; } - char* startSlash=strrchr(url,'/'); + const char* startSlash=strrchr(url,'/'); if (startSlash == NULL) { return NULL; } |