#! /bin/sh /usr/share/dpatch/dpatch-run
## 15_g++4_fixes.dpatch by Erik Schanze <eriks@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: patch to fix a compiler warning
@DPATCH@
diff -urNad --exclude=CVS --exclude=.svn ./mpeg.cxx /tmp/dpep-work.MkYmFC/mpgtx-1.3.1/mpeg.cxx
--- ./mpeg.cxx 2005-04-07 18:49:09.000000000 +0200
+++ /tmp/dpep-work.MkYmFC/mpgtx-1.3.1/mpeg.cxx 2005-07-07 21:09:34.276365000 +0200
@@ -765,7 +765,7 @@
//Given bitrate and FileSize, compute an estimation of the duration.
Video->duration = (FileSize*8.0) / (Video->bitrate*400);
//////////// Begin changes
- marker mymark;
+ marker mymark = 0;
while (true) {
myoffset = FindNextMarker(myoffset, &mymark);
if (mymark == 0xB8) break;