summaryrefslogtreecommitdiff
path: root/libavformat/oma.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-18 01:51:41 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-23 11:24:00 +0100
commit81a86c7e1ecf70ae63565ff86699959686753a2d (patch)
tree8c6b6d87fa2a288dce32151b193aa3ca04697594 /libavformat/oma.c
parentcccb7cf44ec718653bc977372adf69210c7e4ad6 (diff)
avformat/oma: Deduplicate codec tags list
Also saves a relocation. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/oma.c')
-rw-r--r--libavformat/oma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/oma.c b/libavformat/oma.c
index f7ae3c9948..e7bf8553f0 100644
--- a/libavformat/oma.c
+++ b/libavformat/oma.c
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <stddef.h>
#include "internal.h"
#include "oma.h"
#include "libavcodec/avcodec.h"
@@ -35,6 +36,8 @@ const AVCodecTag ff_oma_codec_tags[] = {
{ 0 },
};
+const AVCodecTag *const ff_oma_codec_tags_list[] = { ff_oma_codec_tags, NULL };
+
/** map ATRAC-X channel id to internal channel layout */
const uint64_t ff_oma_chid_to_native_layout[7] = {
AV_CH_LAYOUT_MONO,