diff mbox series

[FFmpeg-devel,09/30] avcodec/atrac3plus_data: Mark array as const

Message ID 20201230233157.1055287-9-andreas.rheinhardt@gmail.com
State Accepted
Commit 2c3393d15dcb5653dd9b705775417c7c537bcaf1
Headers show
Series [FFmpeg-devel,01/30] avcodec/opustab: Make array static | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Dec. 30, 2020, 11:31 p.m. UTC
Forgotten in a7dbeb77c3c30ac4904928978938b209ff6e1ab1.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/atrac3plus_data.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Niedermayer Dec. 31, 2020, 12:21 a.m. UTC | #1
On Thu, Dec 31, 2020 at 12:31:36AM +0100, Andreas Rheinhardt wrote:
> Forgotten in a7dbeb77c3c30ac4904928978938b209ff6e1ab1.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
> ---
>  libavcodec/atrac3plus_data.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

LGTM

thx

[...]
diff mbox series

Patch

diff --git a/libavcodec/atrac3plus_data.h b/libavcodec/atrac3plus_data.h
index 7039936ba3..b0b85c4368 100644
--- a/libavcodec/atrac3plus_data.h
+++ b/libavcodec/atrac3plus_data.h
@@ -393,7 +393,7 @@  static const uint8_t atrac3p_ct_restricted_to_full[2][7][4] = {
 
 /* If the first entry of a subtable is negative, it means
  * that another VLC is to be reused. */
-static int8_t atrac3p_spectra_cbs[][12] = {
+static const int8_t atrac3p_spectra_cbs[][12] = {
     {  1,  0,  0,  1,  7,  0, 19,  5, 13, 21,  6,  8 },
     {  0,  1,  0,  4, 11,  0,  1, 29,  6, 20,  7,  2 },
     {  0,  0,  1,  8,  0, 13, 18,  7,  2,  0,  0,  0 },