Commit db092a93 authored by reimar's avatar reimar

100l, theora_decode_init must pass on errors from vp3_decode_init


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19356 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent baa69710
...@@ -2291,6 +2291,7 @@ static av_cold int theora_decode_init(AVCodecContext *avctx) ...@@ -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) ...@@ -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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment