summaryrefslogtreecommitdiff
path: root/libavcodec/aactab.h
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2015-11-27 17:51:42 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-11-27 17:51:42 +0000
commitec0719264cb9a9d5cbaf225da48929aea24997a3 (patch)
tree15735cb77c99acf4aa64f2fd6b990549382f019a /libavcodec/aactab.h
parent591fbd629ef5fcff874a5cca8a9edd094f0c9ea4 (diff)
aac: temporarily un-share aac_table_init AVOnce variable
AAC-Fixed decoder segfaulted. This commit makes the aac encoder and decoder init the table twice in case of transcoding again. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/aactab.h')
-rw-r--r--libavcodec/aactab.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/aactab.h b/libavcodec/aactab.h
index e7d5d486ef..321c5d392a 100644
--- a/libavcodec/aactab.h
+++ b/libavcodec/aactab.h
@@ -30,7 +30,6 @@
#ifndef AVCODEC_AACTAB_H
#define AVCODEC_AACTAB_H
-#include "libavutil/thread.h"
#include "libavutil/mem.h"
#include "aac.h"
#include "aac_tablegen_decl.h"
@@ -41,8 +40,6 @@
* Tables in this file are shared by the AAC decoders and encoder
*/
-extern AVOnce aac_table_init; /* Protects ff_aac_tableinit() */
-
/* @name ltp_coef
* Table of the LTP coefficients
*/