Blame SOURCES/vorbis-tools-1.4.0-bz1185558.patch

e5874a
From c0a0dbfa58bf13cbd2a637288bf93619a7007673 Mon Sep 17 00:00:00 2001
e5874a
From: Kamil Dudka <kdudka@redhat.com>
e5874a
Date: Mon, 26 Jan 2015 12:33:19 +0100
e5874a
Subject: [PATCH] oggenc: do not use stack variable out of its scope of
e5874a
 validity
e5874a
MIME-Version: 1.0
e5874a
Content-Type: text/plain; charset=UTF-8
e5874a
Content-Transfer-Encoding: 8bit
e5874a
e5874a
Reported-by: Thomas Köller
e5874a
Bug: https://bugzilla.redhat.com/1185558
e5874a
---
e5874a
 oggenc/oggenc.c | 2 +-
e5874a
 1 file changed, 1 insertion(+), 1 deletion(-)
e5874a
e5874a
diff --git a/oggenc/oggenc.c b/oggenc/oggenc.c
e5874a
index ea105b2..759a3ee 100644
e5874a
--- a/oggenc/oggenc.c
e5874a
+++ b/oggenc/oggenc.c
e5874a
@@ -239,7 +239,7 @@ int main(int argc, char **argv)
e5874a
 
e5874a
         if(opt.rawmode)
e5874a
         {
e5874a
-            input_format raw_format = {NULL, 0, raw_open, wav_close, "raw", 
e5874a
+            static input_format raw_format = {NULL, 0, raw_open, wav_close, "raw",
e5874a
                 N_("RAW file reader")};
e5874a
 
e5874a
             enc_opts.rate=opt.raw_samplerate;
e5874a
-- 
e5874a
2.1.0
e5874a