From a7448064c526f097a47355e2ddb7722a06eeb5e3 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 11 Apr 2014 00:09:34 +0200 Subject: [PATCH] mp2: Do not force a samplerate The default should be not to resample. --- libavcodec/libtwolame.c | 1 - libavcodec/mpegaudioenc.c | 1 - 2 files changed, 2 deletions(-) diff --git a/libavcodec/libtwolame.c b/libavcodec/libtwolame.c index d8d73b3bcc..def5feeb9d 100644 --- a/libavcodec/libtwolame.c +++ b/libavcodec/libtwolame.c @@ -191,7 +191,6 @@ static const AVClass twolame_class = { static const AVCodecDefault twolame_defaults[] = { { "b", "384000" }, - { "ar", "48000" }, { NULL }, }; diff --git a/libavcodec/mpegaudioenc.c b/libavcodec/mpegaudioenc.c index 3a5cdca38a..51a6f5be5a 100644 --- a/libavcodec/mpegaudioenc.c +++ b/libavcodec/mpegaudioenc.c @@ -744,7 +744,6 @@ static int MPA_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, static const AVCodecDefault mp2_defaults[] = { { "b", "384000" }, - { "ar", "48000" }, { NULL }, };