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
Please
register
or
sign in
to comment