diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2011-12-02 03:08:35 +0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-12-05 14:41:46 +0400 |
commit | f32fd31858116fbecaffe9559e0a4ad2725f6018 (patch) | |
tree | 37e50b13768fad14a163330335df00f327439d61 /libavcodec/version.h | |
parent | 6fcbb0f553b8e45993e2746d3763adc2faec0781 (diff) |
g722: Change bits per sample to 4
Earlier, bits per sample was defined as 8, since
bits_per_coded_sample was used to indicate whether to ignore
the lower bits of the codeword, having values 6, 7 or 8.
g722 encodes 2 samples into one byte codeword, therefore the
bits per sample is 4. By changing this, the generated timestamps
for streams encoded with g722 become correct.
This makes timestamp generation for g722 data correct (both when
encoding and when demuxing from raw g722 files).
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/version.h')
-rw-r--r-- | libavcodec/version.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/version.h b/libavcodec/version.h index 6faf793ea1..3918b139da 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -21,7 +21,7 @@ #define AVCODEC_VERSION_H #define LIBAVCODEC_VERSION_MAJOR 53 -#define LIBAVCODEC_VERSION_MINOR 25 +#define LIBAVCODEC_VERSION_MINOR 26 #define LIBAVCODEC_VERSION_MICRO 0 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ |