summaryrefslogtreecommitdiff
path: root/ffmpeg/libavcodec/flacenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg/libavcodec/flacenc.c')
-rw-r--r--ffmpeg/libavcodec/flacenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg/libavcodec/flacenc.c b/ffmpeg/libavcodec/flacenc.c
index dc932c6..1fc8c4c 100644
--- a/ffmpeg/libavcodec/flacenc.c
+++ b/ffmpeg/libavcodec/flacenc.c
@@ -1259,7 +1259,7 @@ static int flac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
frame_bytes = encode_frame(s);
- /* fallback to verbatim mode if the compressed frame is larger than it
+ /* Fall back on verbatim mode if the compressed frame is larger than it
would be if encoded uncompressed. */
if (frame_bytes < 0 || frame_bytes > s->max_framesize) {
s->frame.verbatim_only = 1;
@@ -1343,6 +1343,7 @@ static const AVClass flac_encoder_class = {
AVCodec ff_flac_encoder = {
.name = "flac",
+ .long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"),
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_FLAC,
.priv_data_size = sizeof(FlacEncodeContext),
@@ -1353,6 +1354,5 @@ AVCodec ff_flac_encoder = {
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
AV_SAMPLE_FMT_S32,
AV_SAMPLE_FMT_NONE },
- .long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"),
.priv_class = &flac_encoder_class,
};