summaryrefslogtreecommitdiff
path: root/libavcodec/vp3.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r--libavcodec/vp3.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 27ea190a71..47e83f2154 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -2291,7 +2291,6 @@ 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;
@@ -2344,8 +2343,7 @@ static av_cold int theora_decode_init(AVCodecContext *avctx)
break;
}
- ret = vp3_decode_init(avctx);
- return ret;
+ return vp3_decode_init(avctx);
}
AVCodec theora_decoder = {