xbmc/xbmc — pull request #2873 by aballier (2013-06-13 16:56:45+00:00)
Title: [Fix] DVDAudioCodecFFmpeg: do not reopen the resample context for each frame.

There is no point in doing this and opening an already opened context
leaks memory in lavr.

-------

Patch is not from me but fixes my mistake so I'm forwarding it - it should speed up nicely resampling when decoding e.g. AAC also.