g722dec: remove the use of lowres for half-rate decoding.
authorJustin Ruggles <justin.ruggles@gmail.com>
Sat, 22 Oct 2011 22:29:14 +0000 (18:29 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 25 Oct 2011 15:30:50 +0000 (11:30 -0400)
commitd0a196962a82f26a06357efd843488ae62fabea7
treedd9a778c7efceba9e4b394467d800f1357c08675
parentf540ca22c5fb4504d959c295f55591a9ec2a8859
g722dec: remove the use of lowres for half-rate decoding.

It is broken because an AVCodecContext can be opened/closed multiple
times, and sample_rate is getting divided by 2 each time that happens.

This removes the only use of lowres for audio.
avconv.c
libavcodec/g722dec.c