Re: [FFmpeg-devel] [PATCH]lavc/opus: Use original sample rate for decoding

2016-01-05 Thread Carl Eugen Hoyos
Hendrik Leppkes gmail.com> writes: > > Attached patch intends to match what opusdec does, > > sorry if I miss something. > I dont think its as simple as this. Only the SILK > parts of the audio are automatically resampled, the > CELT parts are always decoded to 48kHz. Just changing > the sam

Re: [FFmpeg-devel] [PATCH]lavc/opus: Use original sample rate for decoding

2016-01-05 Thread Hendrik Leppkes
Am 05.01.2016 16:07 schrieb "Carl Eugen Hoyos" : > > Hi! > > Attached patch intends to match what opusdec does, sorry if I miss something. > > Please review, Carl Eugen I dont think its as simple as this. Only the SILK parts of the audio are automatically resampled, the CELT parts are always decod

[FFmpeg-devel] [PATCH]lavc/opus: Use original sample rate for decoding

2016-01-05 Thread Carl Eugen Hoyos
Hi! Attached patch intends to match what opusdec does, sorry if I miss something. Please review, Carl Eugen diff --git a/libavcodec/opus.c b/libavcodec/opus.c index f2b8ecc..df04f05 100644 --- a/libavcodec/opus.c +++ b/libavcodec/opus.c @@ -332,6 +332,18 @@ av_cold int ff_opus_parse_extradata(AVC