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

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