Browse Source

100l, theora_decode_init must pass on errors from vp3_decode_init

Originally committed as revision 19356 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Reimar Döffinger 16 years ago
parent
commit
7cda815044
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      libavcodec/vp3.c

+ 3
- 2
libavcodec/vp3.c View File

@@ -2291,6 +2291,7 @@ static av_cold int theora_decode_init(AVCodecContext *avctx)
uint8_t *header_start[3];
int header_len[3];
int i;
int ret;

s->theora = 1;

@@ -2343,8 +2344,8 @@ static av_cold int theora_decode_init(AVCodecContext *avctx)
break;
}

vp3_decode_init(avctx);
return 0;
ret = vp3_decode_init(avctx);
return ret;
}

AVCodec theora_decoder = {


Loading…
Cancel
Save