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

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