mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ac3enc: Mark AVClasses const
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
863e2046fd
commit
ca5d57ef8a
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
#define AC3ENC_TYPE AC3ENC_TYPE_AC3_FIXED
|
#define AC3ENC_TYPE AC3ENC_TYPE_AC3_FIXED
|
||||||
#include "ac3enc_opts_template.c"
|
#include "ac3enc_opts_template.c"
|
||||||
static AVClass ac3enc_class = { "Fixed-Point AC-3 Encoder", av_default_item_name,
|
static const AVClass ac3enc_class = { "Fixed-Point AC-3 Encoder", av_default_item_name,
|
||||||
ac3fixed_options, LIBAVUTIL_VERSION_INT };
|
ac3fixed_options, LIBAVUTIL_VERSION_INT };
|
||||||
|
|
||||||
#include "ac3enc_template.c"
|
#include "ac3enc_template.c"
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#if CONFIG_AC3_ENCODER
|
#if CONFIG_AC3_ENCODER
|
||||||
#define AC3ENC_TYPE AC3ENC_TYPE_AC3
|
#define AC3ENC_TYPE AC3ENC_TYPE_AC3
|
||||||
#include "ac3enc_opts_template.c"
|
#include "ac3enc_opts_template.c"
|
||||||
static AVClass ac3enc_class = { "AC-3 Encoder", av_default_item_name,
|
static const AVClass ac3enc_class = { "AC-3 Encoder", av_default_item_name,
|
||||||
ac3_options, LIBAVUTIL_VERSION_INT };
|
ac3_options, LIBAVUTIL_VERSION_INT };
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#define AC3ENC_TYPE AC3ENC_TYPE_EAC3
|
#define AC3ENC_TYPE AC3ENC_TYPE_EAC3
|
||||||
#include "ac3enc_opts_template.c"
|
#include "ac3enc_opts_template.c"
|
||||||
static AVClass eac3enc_class = { "E-AC-3 Encoder", av_default_item_name,
|
static const AVClass eac3enc_class = { "E-AC-3 Encoder", av_default_item_name,
|
||||||
eac3_options, LIBAVUTIL_VERSION_INT };
|
eac3_options, LIBAVUTIL_VERSION_INT };
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user