]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libopusenc.c
pthread: Avoid spurious wakeups
[ffmpeg] / libavcodec / libopusenc.c
index f124e190d96d6f0c8b3c0f83ca60ad9e175326e9..592b8caf4b46bbe043cb611b9c26290f30eb56f0 100644 (file)
@@ -403,6 +403,7 @@ static const int libopus_sample_rates[] = {
 
 AVCodec ff_libopus_encoder = {
     .name            = "libopus",
+    .long_name       = NULL_IF_CONFIG_SMALL("libopus Opus"),
     .type            = AVMEDIA_TYPE_AUDIO,
     .id              = AV_CODEC_ID_OPUS,
     .priv_data_size  = sizeof(LibopusEncContext),
@@ -415,7 +416,6 @@ AVCodec ff_libopus_encoder = {
                                                       AV_SAMPLE_FMT_NONE },
     .channel_layouts = ff_vorbis_channel_layouts,
     .supported_samplerates = libopus_sample_rates,
-    .long_name       = NULL_IF_CONFIG_SMALL("libopus Opus"),
     .priv_class      = &libopus_class,
     .defaults        = libopus_defaults,
 };