Commit cf0e5b7f authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'b0c2c097'

* commit 'b0c2c097':
  lavf: default .ogg audio to libvorbis if we can
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 5b23c7ed b0c2c097
......@@ -637,7 +637,8 @@ AVOutputFormat ff_ogg_muxer = {
#endif
,
.priv_data_size = sizeof(OGGContext),
.audio_codec = AV_CODEC_ID_FLAC,
.audio_codec = CONFIG_LIBVORBIS_ENCODER ?
AV_CODEC_ID_VORBIS : 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