summaryrefslogtreecommitdiffstats
path: root/mpeglib/lib/input/inputDetector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mpeglib/lib/input/inputDetector.cpp')
-rw-r--r--mpeglib/lib/input/inputDetector.cpp4
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;
}