summaryrefslogtreecommitdiffstats
path: root/mpeglib/lib/input/cdromRawAccess.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-03-26 15:58:46 +0200
committerSlávek Banko <slavek.banko@axis.cz>2017-03-26 15:59:04 +0200
commitefcdd889254fc98314dd48854d50e90aa21e53c0 (patch)
tree5dc7034c23a5a18ca31d90225137f5eeaec809c4 /mpeglib/lib/input/cdromRawAccess.cpp
parent25709e498d5832125f5f584bd10e3c66d05ec5ee (diff)
downloadtdemultimedia-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/cdromRawAccess.cpp')
-rw-r--r--mpeglib/lib/input/cdromRawAccess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpeglib/lib/input/cdromRawAccess.cpp b/mpeglib/lib/input/cdromRawAccess.cpp
index b0df4747..e23158f6 100644
--- a/mpeglib/lib/input/cdromRawAccess.cpp
+++ b/mpeglib/lib/input/cdromRawAccess.cpp
@@ -55,7 +55,7 @@ int CDRomRawAccess::open(const char* filename) {
if (strlen(filename) <= 1) {
filename="/dev/cdrom";
}
- char* openfile=strchr(filename,'/');
+ const char* openfile=strchr(filename,'/');
cout << "openfile:"<<openfile<<endl;
cdfile=fopen(openfile, "rb");
lOpen=false;