Commit 2890cba8 authored by Committed by Luca BarbatoBrowse files
amr: Set the codec->bit_rate field based on the last packet
This allows libavformat to guess an estimated duration for amr files. For streams with varying bit rates (or with silence descriptors or "no frame" blocks) the guess is, of course, inaccurate.
Showing with 3 additions and 0 deletions