Bug#438524: libmms0: mmsh misses first data chunk

Sven Arvidsson sa at whiz.se
Fri Aug 17 15:01:26 UTC 2007

Package: libmms0
Version: 0.3-4+b1
Severity: normal
Tags: patch

libmms misses some data on mmsh links, making the first few seconds of
the video corrupted. The upstream bug has an example stream and a
suggested patch, which from my limited testing, seems to fix the


I'm attaching the upstream patch, as a unified diff.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libmms0 depends on:
ii  libc6                         2.6.1-1    GNU C Library: Shared libraries
ii  libglib2.0-0                  2.12.13-1  The GLib library of C routines

libmms0 recommends no packages.

-- no debconf information
-------------- next part --------------
diff -urp ../libmms-0.3.orig/src/mmsh.c ./src/mmsh.c
--- ../libmms-0.3.orig/src/mmsh.c	2007-08-17 16:42:22.000000000 +0200
+++ ./src/mmsh.c	2007-08-17 16:43:19.000000000 +0200
@@ -898,7 +898,8 @@ static int mmsh_connect_int (mms_io_t *i
   if (!get_header(io, this))
     goto fail;
   interp_header(io, this);
+  this->buf_size = this->packet_length;
   for (i = 0; i < this->num_stream_ids; i++) {
     if ((this->stream_ids[i] != audio_stream) &&
         (this->stream_ids[i] != video_stream)) {

More information about the pkg-multimedia-maintainers mailing list