mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
30 lines
732 B
Plaintext
30 lines
732 B
Plaintext
From c154290e54c5f90a68d56c057beccc9cc3a5524d Mon Sep 17 00:00:00 2001
|
|
From: begasus <begasus@gmail.com>
|
|
Date: Mon, 17 Dec 2018 19:22:38 +0100
|
|
Subject: gcc2 fix
|
|
|
|
|
|
diff --git a/src/codec_theora.c b/src/codec_theora.c
|
|
index fc1819c..2323d9a 100644
|
|
--- a/src/codec_theora.c
|
|
+++ b/src/codec_theora.c
|
|
@@ -56,6 +56,7 @@ int _shout_open_theora(ogg_codec_t *codec, ogg_page *page)
|
|
|
|
(void)page;
|
|
|
|
+ {
|
|
theora_data_t *theora_data = calloc(1, sizeof(theora_data_t));
|
|
if (! theora_data)
|
|
return SHOUTERR_MALLOC;
|
|
@@ -76,6 +77,7 @@ int _shout_open_theora(ogg_codec_t *codec, ogg_page *page)
|
|
codec->free_data = free_theora_data;
|
|
codec->headers = 1;
|
|
theora_data->initial_frames = 0;
|
|
+ }
|
|
|
|
return SHOUTERR_SUCCESS;
|
|
}
|
|
--
|
|
2.19.1
|
|
|