aacdec: set AVFrame sample_rate
authorJohn Stebbins <stebbins@jetheaddev.com>
Sun, 9 Feb 2014 01:19:30 +0000 (01:19 +0000)
committerJanne Grunau <janne-libav@jannau.net>
Wed, 12 Feb 2014 11:52:28 +0000 (12:52 +0100)
commit462d5e8e6c050eae7cbb1f2d5c34628088bd0eb6
tree1259adab18ecc75561c09382b107e76e06ee4f21
parent4a7d3837b4dd17fff270b55166597c093204e542
aacdec: set AVFrame sample_rate

AVFrame.sample_rate is set in ff_get_buffer, but aacdec calls
ff_get_buffer before the samplerate is known. So it needs to be
set again before returning the frame.
libavcodec/aacdec.c