Browse Source

vmnc: return error on decode_init() failure.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
tags/n0.11
Ronald S. Bultje 14 years ago
parent
commit
07a180972f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/vmnc.c

+ 1
- 0
libavcodec/vmnc.c View File

@@ -483,6 +483,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
break;
default:
av_log(avctx, AV_LOG_ERROR, "Unsupported bitdepth %i\n", c->bpp);
return AVERROR_INVALIDDATA;
}

return 0;


Loading…
Cancel
Save