[FFmpeg-cvslog] mp2: Do not force a samplerate

Luca Barbato git at videolan.org
Fri Apr 11 01:27:42 CEST 2014


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Fri Apr 11 00:09:34 2014 +0200| [a7448064c526f097a47355e2ddb7722a06eeb5e3] | committer: Luca Barbato

mp2: Do not force a samplerate

The default should be not to resample.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a7448064c526f097a47355e2ddb7722a06eeb5e3
---

 libavcodec/libtwolame.c   |    1 -
 libavcodec/mpegaudioenc.c |    1 -
 2 files changed, 2 deletions(-)

diff --git a/libavcodec/libtwolame.c b/libavcodec/libtwolame.c
index d8d73b3..def5fee 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 3a5cdca..51a6f5b 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 },
 };
 



More information about the ffmpeg-cvslog mailing list