1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

cavsdec/decode_mb_b: fix return type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-09-11 07:13:49 +02:00
parent bb4ddeea5f
commit ba9e9605ad

View File

@ -749,7 +749,7 @@ static void decode_mb_p(AVSContext *h, enum cavs_mb mb_type) {
h->col_type_base[h->mbidx] = 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; int block;
enum cavs_sub_mb sub_type[4]; enum cavs_sub_mb sub_type[4];
int flags; int flags;
@ -859,6 +859,8 @@ static void decode_mb_b(AVSContext *h, enum cavs_mb mb_type) {
if(mb_type != B_SKIP) if(mb_type != B_SKIP)
decode_residual_inter(h); decode_residual_inter(h);
ff_cavs_filter(h,mb_type); ff_cavs_filter(h,mb_type);
return 0;
} }
/***************************************************************************** /*****************************************************************************