Andreas Rheinhardt:
> Fixes Coverity issue #1439566.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
> ---
>  libavcodec/rasc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavcodec/rasc.c b/libavcodec/rasc.c
> index 7fedf73878..b328e219bb 100644
> --- a/libavcodec/rasc.c
> +++ b/libavcodec/rasc.c
> @@ -721,6 +721,7 @@ static int decode_frame(AVCodecContext *avctx,
>              break;
>          default:
>              bytestream2_skip(gb, size);
> +            ret = 0;
>          }
>  
>          if (ret < 0)
> 

Will apply later tonight unless there are objections.

- Andreas
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to