avcodec/libzvbi-teletextdec: Add variable to fix build

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2015-10-22 23:00:02 +02:00
parent 8507b98c10
commit 3f85552e40
1 changed files with 1 additions and 0 deletions

View File

@ -401,6 +401,7 @@ static int teletext_decode_frame(AVCodecContext *avctx, void *data, int *data_si
TeletextContext *ctx = avctx->priv_data;
AVSubtitle *sub = data;
int ret = 0;
int j;
if (!ctx->vbi) {
if (!(ctx->vbi = vbi_decoder_new()))