mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
ac3enc: Mark AVClasses const
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
863e2046fd
commit
ca5d57ef8a
@ -32,8 +32,8 @@
|
||||
|
||||
#define AC3ENC_TYPE AC3ENC_TYPE_AC3_FIXED
|
||||
#include "ac3enc_opts_template.c"
|
||||
static AVClass ac3enc_class = { "Fixed-Point AC-3 Encoder", av_default_item_name,
|
||||
ac3fixed_options, LIBAVUTIL_VERSION_INT };
|
||||
static const AVClass ac3enc_class = { "Fixed-Point AC-3 Encoder", av_default_item_name,
|
||||
ac3fixed_options, LIBAVUTIL_VERSION_INT };
|
||||
|
||||
#include "ac3enc_template.c"
|
||||
|
||||
|
@ -35,8 +35,8 @@
|
||||
#if CONFIG_AC3_ENCODER
|
||||
#define AC3ENC_TYPE AC3ENC_TYPE_AC3
|
||||
#include "ac3enc_opts_template.c"
|
||||
static AVClass ac3enc_class = { "AC-3 Encoder", av_default_item_name,
|
||||
ac3_options, LIBAVUTIL_VERSION_INT };
|
||||
static const AVClass ac3enc_class = { "AC-3 Encoder", av_default_item_name,
|
||||
ac3_options, LIBAVUTIL_VERSION_INT };
|
||||
#endif
|
||||
|
||||
#include "ac3enc_template.c"
|
||||
|
@ -31,8 +31,8 @@
|
||||
|
||||
#define AC3ENC_TYPE AC3ENC_TYPE_EAC3
|
||||
#include "ac3enc_opts_template.c"
|
||||
static AVClass eac3enc_class = { "E-AC-3 Encoder", av_default_item_name,
|
||||
eac3_options, LIBAVUTIL_VERSION_INT };
|
||||
static const AVClass eac3enc_class = { "E-AC-3 Encoder", av_default_item_name,
|
||||
eac3_options, LIBAVUTIL_VERSION_INT };
|
||||
|
||||
|
||||
void ff_eac3_set_cpl_states(AC3EncodeContext *s)
|
||||
|
Loading…
Reference in New Issue
Block a user