diff options
-rw-r--r-- | v4l2-apps/libv4l/libv4lconvert/mr97310a.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/v4l2-apps/libv4l/libv4lconvert/mr97310a.c b/v4l2-apps/libv4l/libv4lconvert/mr97310a.c index b5dbea7e6..e6ce94b29 100644 --- a/v4l2-apps/libv4l/libv4lconvert/mr97310a.c +++ b/v4l2-apps/libv4l/libv4lconvert/mr97310a.c @@ -102,6 +102,9 @@ void v4lconvert_decode_mr97310a(const unsigned char *inp, unsigned char *outp, if (!decoder_initialized) init_mr97310a_decoder(); + /* remove the header */ + inp += 12; + bitpos = 0; /* main decoding loop */ |