shithub: libvpx

Download patch

ref: b99d89d0bf290bcc7f3b7bf33684146dd1b1b03c
parent: 00d566eae1591078ecbadcaf67e30b2778c06b4e
parent: 20f7332b34b5ad0810e943c7d8fe561dad9c97a2
author: Paul Wilkins <paulwilkins@google.com>
date: Sun Jun 13 00:01:01 EDT 2010

Merge "Incorrect comment."

--- a/vp8/vp8_dx_iface.c
+++ b/vp8/vp8_dx_iface.c
@@ -258,12 +258,12 @@
 
     vpx_codec_err_t res = VPX_CODEC_OK;
     {
-        /*Parse from VP8 compressed data, the implies knowledge of the
-         *VP8 bitsteam.
-         * First 3 byte header including version, frame type and an offset
-         * Next 3 bytes are image sizewith 12 bit each for width and height
+        /* Parse uncompresssed part of key frame header.
+         * 3 bytes:- including version, frame type and an offset
+         * 3 bytes:- sync code (0x9d, 0x01, 0x2a)
+         * 4 bytes:- including image width and height in the lowest 14 bits
+         *           of each 2-byte value.
          */
-
         si->is_kf = 0;
 
         if (data_sz >= 10 && !(data[0] & 0x01))  /* I-Frame */