[FFmpeg-devel] [PATCH] avcodec/fmvc: find Uninitialized variables for Coverity

Steven Liu lingjiujianke at gmail.com
Mon Feb 13 03:39:12 EET 2017


2017-02-13 7:43 GMT+08:00 Steven Liu <lq at chinaffmpeg.org>:

> Initialized variables opcode to indent
>
> Signed-off-by: Steven Liu <lq at 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 at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


Just fix 1400455


More information about the ffmpeg-devel mailing list