Commit b0c2c097 authored by Andrew Kelley's avatar Andrew Kelley Committed by Vittorio Giovara

lavf: default .ogg audio to libvorbis if we can

Since 2007, the Foundation recommends that .ogg only be used
for Ogg Vorbis audio files.


However we only do it if we have libvorbis available because the
built in vorbis encoder is not as good.
Signed-off-by: default avatarVittorio Giovara <>
parent bc3f0356
......@@ -616,7 +616,8 @@ AVOutputFormat ff_ogg_muxer = {
.mime_type = "application/ogg",
.extensions = "ogg,ogv,spx,opus",
.priv_data_size = sizeof(OGGContext),
.audio_codec = AV_CODEC_ID_FLAC,
.video_codec = AV_CODEC_ID_THEORA,
.write_header = ogg_write_header,
.write_packet = ogg_write_packet,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment