summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2015-05-19 10:32:45 +0300
committerLajos Molnar <lajos@google.com>2015-06-03 08:45:29 -0700
commite398f0eccbb4f824631eabcd0fd5bce4b7c7d6e1 (patch)
tree5ebf0e68ee6de2dc5638ecab521725bbe6125d23 /common
parent93295b228f7d171d1e5371f71d79e36a2885403e (diff)
downloadandroid_external_libavc-e398f0eccbb4f824631eabcd0fd5bce4b7c7d6e1.tar.gz
android_external_libavc-e398f0eccbb4f824631eabcd0fd5bce4b7c7d6e1.tar.bz2
android_external_libavc-e398f0eccbb4f824631eabcd0fd5bce4b7c7d6e1.zip
Fix a typo in gas_ih264_lvl_tbl, set proper sizes for level 1.1
The table values themselves were correct, but the level values were swapped for 1.1 and 1B. This fixes encoding using level 1.1, which previously got the wrong (too small) sizes (corresponding to level 1B). Change-Id: Ic0acc58eb5841710ffd8be54bf97800fdbb40855
Diffstat (limited to 'common')
-rw-r--r--common/ih264_common_tables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/ih264_common_tables.c b/common/ih264_common_tables.c
index c53c276..3a04a38 100644
--- a/common/ih264_common_tables.c
+++ b/common/ih264_common_tables.c
@@ -64,8 +64,8 @@
const level_tables_t gas_ih264_lvl_tbl[16] =
{
{ IH264_LEVEL_10, 1485, 99, 297, 64, 175, 64 },
- { IH264_LEVEL_11, 1485, 99, 297, 128, 350, 64 },
- { IH264_LEVEL_1B, 3000, 396, 675, 192, 500, 128 },
+ { IH264_LEVEL_1B, 1485, 99, 297, 128, 350, 64 },
+ { IH264_LEVEL_11, 3000, 396, 675, 192, 500, 128 },
{ IH264_LEVEL_12, 6000, 396, 1782, 384, 1000, 128 },
{ IH264_LEVEL_13, 11880, 396, 1782, 768, 2000, 128 },
{ IH264_LEVEL_20, 11880, 396, 1782, 2000, 2000, 128 },