summaryrefslogtreecommitdiff
path: root/src/libw32dll/dmo/DMO_VideoDecoder.c
diff options
context:
space:
mode:
authorPetri Hintukainen <phintuka@users.sourceforge.net>2014-03-11 10:41:25 +0200
committerPetri Hintukainen <phintuka@users.sourceforge.net>2014-03-11 10:41:25 +0200
commitcf9f0007c7ac888197d591ff219b1f335d4fc09a (patch)
treeceee5d1fdc0aa0a6427411ee8d010e1aa26ec068 /src/libw32dll/dmo/DMO_VideoDecoder.c
parent9dc01446b018803415e0fe02b0f060b037e0738a (diff)
downloadxine-lib-cf9f0007c7ac888197d591ff219b1f335d4fc09a.tar.gz
xine-lib-cf9f0007c7ac888197d591ff219b1f335d4fc09a.tar.bz2
libw32dll: fix const issues
Casting const away is usually bad idea. It does not fix the cause (incorrect types). Also, casting const away issues warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type
Diffstat (limited to 'src/libw32dll/dmo/DMO_VideoDecoder.c')
-rw-r--r--src/libw32dll/dmo/DMO_VideoDecoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libw32dll/dmo/DMO_VideoDecoder.c b/src/libw32dll/dmo/DMO_VideoDecoder.c
index 64b0ef78c..4b95bcfa7 100644
--- a/src/libw32dll/dmo/DMO_VideoDecoder.c
+++ b/src/libw32dll/dmo/DMO_VideoDecoder.c
@@ -90,7 +90,7 @@ static ct check[] = {
{0},
};
-DMO_VideoDecoder * DMO_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEADER * format, int flip, int maxauto)
+DMO_VideoDecoder * DMO_VideoDecoder_Open(const char* dllname, GUID* guid, BITMAPINFOHEADER * format, int flip, int maxauto)
{
DMO_VideoDecoder *this;
HRESULT result;