diff options
| author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2014-03-11 10:41:25 +0200 |
|---|---|---|
| committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2014-03-11 10:41:25 +0200 |
| commit | cf9f0007c7ac888197d591ff219b1f335d4fc09a (patch) | |
| tree | ceee5d1fdc0aa0a6427411ee8d010e1aa26ec068 /src/libw32dll/DirectShow/DS_VideoDecoder.c | |
| parent | 9dc01446b018803415e0fe02b0f060b037e0738a (diff) | |
| download | xine-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/DirectShow/DS_VideoDecoder.c')
| -rw-r--r-- | src/libw32dll/DirectShow/DS_VideoDecoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libw32dll/DirectShow/DS_VideoDecoder.c b/src/libw32dll/DirectShow/DS_VideoDecoder.c index f88e480e3..b179b1a34 100644 --- a/src/libw32dll/DirectShow/DS_VideoDecoder.c +++ b/src/libw32dll/DirectShow/DS_VideoDecoder.c @@ -82,7 +82,7 @@ static ct check[] = { }; -DS_VideoDecoder * DS_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEADER * format, int flip, int maxauto) +DS_VideoDecoder * DS_VideoDecoder_Open(const char* dllname, GUID* guid, BITMAPINFOHEADER * format, int flip, int maxauto) { DS_VideoDecoder *this; HRESULT result; |
