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