aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mjpegtools/files
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mjpegtools/files')
-rw-r--r--multimedia/mjpegtools/files/patch-mplex__lpcmstrm_in.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/mjpegtools/files/patch-mplex__lpcmstrm_in.cpp b/multimedia/mjpegtools/files/patch-mplex__lpcmstrm_in.cpp
new file mode 100644
index 000000000000..5c7c2f51e4ef
--- /dev/null
+++ b/multimedia/mjpegtools/files/patch-mplex__lpcmstrm_in.cpp
@@ -0,0 +1,11 @@
+--- mplex/lpcmstrm_in.cpp.orig 2005-10-14 01:43:10.000000000 +0900
++++ mplex/lpcmstrm_in.cpp 2010-01-09 17:12:17.000000000 +0900
+@@ -53,7 +53,7 @@
+
+ bool LPCMStream::Probe(IBitStream &bs )
+ {
+- char *last_dot = strrchr( bs.StreamName(), '.' );
++ const char *last_dot = strrchr( bs.StreamName(), '.' );
+ return
+ last_dot != NULL
+ && strcmp( last_dot+1, "lpcm") == 0;