On 08/05/2012 04:26 AM, Anton Khirnov wrote:
> ---
> libavcodec/mpegaudioenc.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/libavcodec/mpegaudioenc.c b/libavcodec/mpegaudioenc.c
> index 6e79a61..a0ae5a7 100644
> --- a/libavcodec/mpegaudioenc.c
> +++ b/libavcodec/mpegaudioenc.c
> @@ -24,6 +24,8 @@
> * The simplest mpeg audio layer 2 encoder.
> */
>
> +#include "libavutil/audioconvert.h"
> +
> #include "avcodec.h"
> #include "internal.h"
> #include "put_bits.h"
> @@ -794,6 +796,9 @@ AVCodec ff_mp2_encoder = {
> .supported_samplerates = (const int[]){
> 44100, 48000, 32000, 22050, 24000, 16000, 0
> },
> + .channel_layouts = (const uint64_t[]){ AV_CH_LAYOUT_MONO,
> + AV_CH_LAYOUT_STEREO,
> + 0 },
> .long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer
> 2)"),
> .defaults = mp2_defaults,
> };
LGTM
-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel