Commit c583e701 authored by Paul B Mahol's avatar Paul B Mahol

avcodec/fmvc: initialize opcode to 0

It shouldn't really matter but it doesn't hurt.
Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 0a28c505
...@@ -53,7 +53,7 @@ typedef struct FMVCContext { ...@@ -53,7 +53,7 @@ typedef struct FMVCContext {
static int decode_type2(GetByteContext *gb, PutByteContext *pb) static int decode_type2(GetByteContext *gb, PutByteContext *pb)
{ {
unsigned repeat = 0, first = 1, opcode; unsigned repeat = 0, first = 1, opcode = 0;
int i, len, pos; int i, len, pos;
while (bytestream2_get_bytes_left(gb) > 0) { while (bytestream2_get_bytes_left(gb) > 0) {
...@@ -288,7 +288,7 @@ static int decode_type2(GetByteContext *gb, PutByteContext *pb) ...@@ -288,7 +288,7 @@ static int decode_type2(GetByteContext *gb, PutByteContext *pb)
static int decode_type1(GetByteContext *gb, PutByteContext *pb) static int decode_type1(GetByteContext *gb, PutByteContext *pb)
{ {
unsigned opcode, len; unsigned opcode = 0, len;
int high = 0; int high = 0;
int i, pos; int i, pos;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment