diff options
author | rillig <rillig> | 2006-01-30 21:20:42 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-01-30 21:20:42 +0000 |
commit | 0fe537dc2448809a7415055ab8199ef30d616642 (patch) | |
tree | 837ddd72d8502f0ba354d74387b19ce95fe57fe6 /multimedia/gst-plugins0.10-good/patches/patch-aa | |
parent | c4819be63fd196ecaee8162b3786ba7de67e7c61 (diff) | |
download | pkgsrc-0fe537dc2448809a7415055ab8199ef30d616642.tar.gz |
Added some patches for ISO C90 compatibility.
Diffstat (limited to 'multimedia/gst-plugins0.10-good/patches/patch-aa')
-rw-r--r-- | multimedia/gst-plugins0.10-good/patches/patch-aa | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/multimedia/gst-plugins0.10-good/patches/patch-aa b/multimedia/gst-plugins0.10-good/patches/patch-aa new file mode 100644 index 00000000000..2fbf742de6c --- /dev/null +++ b/multimedia/gst-plugins0.10-good/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1 2006/01/30 21:20:42 rillig Exp $ + +Keywords: c90 + +--- gst/avi/gstavidemux.c.orig 2006-01-10 15:01:55.000000000 +0100 ++++ gst/avi/gstavidemux.c 2006-01-30 21:33:28.000000000 +0100 +@@ -2219,10 +2219,11 @@ swap_line (guint8 * d1, guint8 * d2, gui + static GstBuffer * + gst_avi_demux_invert (avi_stream_context * stream, GstBuffer * buf) + { +- buf = gst_buffer_make_writable (buf); + gint y, h = stream->strf.vids->height, w = stream->strf.vids->width; + guint8 *tmp = NULL; + ++ buf = gst_buffer_make_writable (buf); ++ + if (GST_BUFFER_SIZE (buf) < (w * h)) { + GST_WARNING ("Buffer is smaller than reported Width x Height"); + return buf; |