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

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