diff options
author | kristerw <kristerw@pkgsrc.org> | 2005-01-16 22:54:37 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2005-01-16 22:54:37 +0000 |
commit | 7cd73ce8c3880510bd259486e3f342643dfa908e (patch) | |
tree | aa6b8abc3905ce8079264620147cc95a16e50367 /multimedia/gst-plugins/patches | |
parent | 22834dc1a824477049493a62edc662ac24628ccf (diff) | |
download | pkgsrc-7cd73ce8c3880510bd259486e3f342643dfa908e.tar.gz |
Fix C99-isms to make this pkg build with gcc 2.95.
Diffstat (limited to 'multimedia/gst-plugins/patches')
-rw-r--r-- | multimedia/gst-plugins/patches/patch-ab | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/multimedia/gst-plugins/patches/patch-ab b/multimedia/gst-plugins/patches/patch-ab new file mode 100644 index 00000000000..2d11dad5fd8 --- /dev/null +++ b/multimedia/gst-plugins/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.7 2005/01/16 22:54:37 kristerw Exp $ + +--- gst/tta/gstttaparse.c.orig Sun Jan 16 23:27:29 2005 ++++ gst/tta/gstttaparse.c Sun Jan 16 23:28:36 2005 +@@ -161,12 +161,13 @@ + switch (GST_EVENT_TYPE (event)) { + case GST_EVENT_SEEK: + { ++ GstEvent *seek_event; ++ guint64 time, seek_frame, seekpos; + if (GST_EVENT_SEEK_FORMAT (event) == GST_FORMAT_TIME) { + GST_DEBUG_OBJECT (ttaparse, "got seek event"); +- GstEvent *seek_event; +- guint64 time = GST_EVENT_SEEK_OFFSET (event); +- guint64 seek_frame = time / (FRAME_TIME * 1000000000); +- guint64 seekpos = ttaparse->index[seek_frame].pos; ++ time = GST_EVENT_SEEK_OFFSET (event); ++ seek_frame = time / (FRAME_TIME * 1000000000); ++ seekpos = ttaparse->index[seek_frame].pos; + + GST_DEBUG_OBJECT (ttaparse, "seeking to %u", (guint) seekpos); + seek_event = |