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:59:04 +0200 |
commit | efcdd889254fc98314dd48854d50e90aa21e53c0 (patch) | |
tree | 5dc7034c23a5a18ca31d90225137f5eeaec809c4 /mpeglib/lib/input/inputDetector.cpp | |
parent | 25709e498d5832125f5f584bd10e3c66d05ec5ee (diff) | |
download | tdemultimedia-efcdd889254fc98314dd48854d50e90aa21e53c0.tar.gz tdemultimedia-efcdd889254fc98314dd48854d50e90aa21e53c0.zip |
Initial cmake conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8b12682035e2ae92a29a9ce12abc5fbcf38b1192)
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; } |