From ba9e9605ad2b9398275efd7110e44fce6526dab5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 11 Sep 2012 07:13:49 +0200 Subject: [PATCH] cavsdec/decode_mb_b: fix return type Signed-off-by: Michael Niedermayer --- libavcodec/cavsdec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index b0a18c46b9..4e69176c2f 100644 --- a/libavcodec/cavsdec.c +++ b/libavcodec/cavsdec.c @@ -749,7 +749,7 @@ static void decode_mb_p(AVSContext *h, enum cavs_mb mb_type) { h->col_type_base[h->mbidx] = mb_type; } -static void decode_mb_b(AVSContext *h, enum cavs_mb mb_type) { +static int decode_mb_b(AVSContext *h, enum cavs_mb mb_type) { int block; enum cavs_sub_mb sub_type[4]; int flags; @@ -859,6 +859,8 @@ static void decode_mb_b(AVSContext *h, enum cavs_mb mb_type) { if(mb_type != B_SKIP) decode_residual_inter(h); ff_cavs_filter(h,mb_type); + + return 0; } /*****************************************************************************