matroskaenc: simplify get_aac_sample_rates by using ff_mpeg4audio_get_config
authorAnton Khirnov <anton@khirnov.net>
Mon, 21 Mar 2011 08:05:36 +0000 (09:05 +0100)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 23 Mar 2011 01:39:14 +0000 (21:39 -0400)
commitbc17bd90f51a6eb464746b2d5144e1ec57ca4bfb
tree15f4c76281a8ea5d5d5749136f12b358828071c1
parent78e99e0f32b610a3cf302b2b35e500f4e9eaff07
matroskaenc: simplify get_aac_sample_rates by using ff_mpeg4audio_get_config

This also fixes broken SBR detection, which produced files with double
sample rate since 8ae0fa2.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavformat/matroskaenc.c