diff options
author | Martin Storsjö <martin@martin.st> | 2011-12-01 10:45:26 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-12-01 23:19:24 +0200 |
commit | fa6dce4c572fd52266201f1c9d83d26bc662bf56 (patch) | |
tree | 73f49afd3822025b71c58a3fa827f29a63643127 /libavformat/m4vdec.c | |
parent | 77e0c7584b595edcec7bf393c0e77dbcfe2a8cb4 (diff) | |
download | ffmpeg-fa6dce4c572fd52266201f1c9d83d26bc662bf56.tar.gz |
rtpdec: Interpret the different G726 names as bits_per_coded_sample
For the standardized 8 kHz sample rate, this works exactly the same.
For nonstandard sample rates, the different predefined G726
names (G726-16, G726-24, G726-32, G726-40) are interpreted as an
indication of the bits per coded sample, even though their
actual bitrates aren't what the name specifies.
This feels more sane than using free-form names for nonstandard
sample rate/bitrate combinations, e.g like G726-22, G726-33
for 11025 Hz.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/m4vdec.c')
0 files changed, 0 insertions, 0 deletions