[Libva] [PATCH] Avoid reaching div by zero
Xiang, Haihao
haihao.xiang at intel.com
Mon Jan 11 17:14:57 PST 2016
Applied.
Thanks
Haihao
> Signed-off-by: Lim Siew Hoon <siew.hoon.lim at intel.com>
> ---
> test/encode/jpegenc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test/encode/jpegenc.c b/test/encode/jpegenc.c
> index 56fa2f1..b68bb2e 100644
> --- a/test/encode/jpegenc.c
> +++ b/test/encode/jpegenc.c
> @@ -968,7 +968,7 @@ int main(int argc, char *argv[])
> default: {
> printf("Unsupported format:\n");
> show_help();
> - break;
> + return -1;
> }
>
> }
More information about the Libva
mailing list