100l, theora_decode_init must pass on errors from vp3_decode_init

Originally committed as revision 19356 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger
2009-07-06 09:35:00 +00:00
parent c4b7b8bf9c
commit 7cda815044

View File

@@ -2291,6 +2291,7 @@ static av_cold int theora_decode_init(AVCodecContext *avctx)
uint8_t *header_start[3]; uint8_t *header_start[3];
int header_len[3]; int header_len[3];
int i; int i;
int ret;
s->theora = 1; s->theora = 1;
@@ -2343,8 +2344,8 @@ static av_cold int theora_decode_init(AVCodecContext *avctx)
break; break;
} }
vp3_decode_init(avctx); ret = vp3_decode_init(avctx);
return 0; return ret;
} }
AVCodec theora_decoder = { AVCodec theora_decoder = {