summaryrefslogtreecommitdiff
path: root/vp9/encoder
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2013-05-18 16:56:12 -0700
committerPaul Wilkins <paulwilkins@google.com>2013-05-20 11:41:31 +0100
commit2c93a8ed5c840a69e58a52f60e7b6194b5919cf5 (patch)
treecbb707c6491d2f1931ee8c44f791db1c8102b431 /vp9/encoder
parent5f3612c35e1cadb024317f6223ceabeebac1235a (diff)
downloadlibvpx-2c93a8ed5c840a69e58a52f60e7b6194b5919cf5.tar
libvpx-2c93a8ed5c840a69e58a52f60e7b6194b5919cf5.tar.gz
libvpx-2c93a8ed5c840a69e58a52f60e7b6194b5919cf5.tar.bz2
libvpx-2c93a8ed5c840a69e58a52f60e7b6194b5919cf5.zip
Give VP9 a different sync code from VP8
The new code is 0x49, 0x83, 0x42 There is nothing particularly special about this code bitstream wise. Its derivation is the word "sync" coded using 4x6bit alphabetic indices. Change-Id: Ie2430a854af32ddc5a5c25a6c1c90cf6497ba647
Diffstat (limited to 'vp9/encoder')
-rw-r--r--vp9/encoder/vp9_bitstream.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vp9/encoder/vp9_bitstream.c b/vp9/encoder/vp9_bitstream.c
index bcec13c4b..d20a2c56c 100644
--- a/vp9/encoder/vp9_bitstream.c
+++ b/vp9/encoder/vp9_bitstream.c
@@ -1506,9 +1506,9 @@ void vp9_pack_bitstream(VP9_COMP *cpi, uint8_t *dest, unsigned long *size) {
*/
if (oh.type == KEY_FRAME) {
// Start / synch code
- cx_data[0] = 0x9D;
- cx_data[1] = 0x01;
- cx_data[2] = 0x2a;
+ cx_data[0] = 0x49;
+ cx_data[1] = 0x83;
+ cx_data[2] = 0x42;
extra_bytes_packed = 3;
cx_data += extra_bytes_packed;
}