This patch introduces an offset of 12 bytes before starting the decompression of a frame. This needs to be done to compensate for a change in the gspca driver, where headers are now preserved instead of suppressed.


Signed-off-by: Theodore Kilgore <[email protected]>
--------------------------------------------------------------------------
--- mr97310a.c.old      2009-03-01 15:37:38.000000000 -0600
+++ mr97310a.c.new      2009-02-18 22:39:48.000000000 -0600
@@ -102,6 +102,9 @@ void v4lconvert_decode_mr97310a(const un
        if (!decoder_initialized)
                init_mr97310a_decoder();

+       /* remove the header */
+       inp += 12;
+
        bitpos = 0;

        /* main decoding loop */
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to