codec: faad: set default rate to source's (fix #14213)
output pts/length is computed from input block pts.
If sample rate is wrong, all timings are borked.
Try to use the declared sample rate if possible.
If source has wrong sample rate
(cherry picked from commit 06682f220832758726789cb735bfb89f80cabe56)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Showing
Please register or sign in to comment