[FFmpeg-devel] [PATCH] rtsp: remove TODO that referred to faad (now banished)

Luca Barbato lu_zero
Wed Jul 14 13:45:19 CEST 2010


On 7/14/10 12:18 PM, Diego Elio 'Flameeyes' Petten? wrote:
> ---
>   libavformat/rtsp.c |    4 ----
>   1 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
> index 9316f3c..877e359 100644
> --- a/libavformat/rtsp.c
> +++ b/libavformat/rtsp.c
> @@ -139,10 +139,6 @@ static int sdp_parse_rtpmap(AVFormatContext *s,
>               i = atoi(buf);
>               if (i>  0)
>                   codec->channels = i;
> -            // TODO: there is a bug here; if it is a mono stream, and
> -            // less than 22000Hz, faad upconverts to stereo and twice
> -            // the frequency.  No problem, but the sample rate is being
> -            // set here by the sdp line. Patch on its way. (rdm)
>           }
>           av_log(s, AV_LOG_DEBUG, "audio samplerate set to: %i\n",
>                  codec->sample_rate);

has been tested that it doesn't happen on ffaac as well?

lu



More information about the ffmpeg-devel mailing list