Message ID | 20170212234353.32433-1-lq@chinaffmpeg.org |
---|---|
State | New |
Headers | show |
2017-02-13 7:43 GMT+08:00 Steven Liu <lq@chinaffmpeg.org>: > Initialized variables opcode to indent > > Signed-off-by: Steven Liu <lq@chinaffmpeg.org> > --- > libavcodec/fmvc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/fmvc.c b/libavcodec/fmvc.c > index 54bb6f9..5e54d33 100644 > --- a/libavcodec/fmvc.c > +++ b/libavcodec/fmvc.c > @@ -53,7 +53,7 @@ typedef struct FMVCContext { > > 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; > > while (bytestream2_get_bytes_left(gb) > 0) { > -- > 2.10.1.382.ga23ca1b.dirty > > > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > Just fix 1400455
diff --git a/libavcodec/fmvc.c b/libavcodec/fmvc.c index 54bb6f9..5e54d33 100644 --- a/libavcodec/fmvc.c +++ b/libavcodec/fmvc.c @@ -53,7 +53,7 @@ typedef struct FMVCContext { 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; while (bytestream2_get_bytes_left(gb) > 0) {
Initialized variables opcode to indent Signed-off-by: Steven Liu <lq@chinaffmpeg.org> --- libavcodec/fmvc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)