summaryrefslogtreecommitdiff
path: root/multimedia/mplayer-share/patches/patch-bb
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mplayer-share/patches/patch-bb')
-rw-r--r--multimedia/mplayer-share/patches/patch-bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/mplayer-share/patches/patch-bb b/multimedia/mplayer-share/patches/patch-bb
new file mode 100644
index 00000000000..ab078d1180c
--- /dev/null
+++ b/multimedia/mplayer-share/patches/patch-bb
@@ -0,0 +1,17 @@
+$NetBSD: patch-bb,v 1.3 2005/04/16 17:43:09 drochner Exp $
+
+--- libmpdemux/asf_mmst_streaming.c.orig 2005-04-16 21:10:36.000000000 +0200
++++ libmpdemux/asf_mmst_streaming.c
+@@ -334,8 +334,12 @@ static int interp_header (uint8_t *heade
+
+ printf ("stream object, stream id: %d\n", stream_id);
+
++ if (num_stream_ids < 20) {
+ stream_ids[num_stream_ids] = stream_id;
+ num_stream_ids++;
++ } else {
++ printf ("too many id, stream skipped");
++ }
+
+ } else {
+ printf ("unknown object\n");