Browse Source

ffv1enc: Check the return value of ffv1_common_init()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 13 years ago
parent
commit
54602590d9
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/ffv1enc.c

+ 2
- 1
libavcodec/ffv1enc.c View File

@@ -641,7 +641,8 @@ static av_cold int encode_init(AVCodecContext *avctx)
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(avctx->pix_fmt);
int i, j, k, m, ret;

ffv1_common_init(avctx);
if ((ret = ffv1_common_init(avctx)) < ret)
return ret;

s->version = 0;



Loading…
Cancel
Save