summaryrefslogtreecommitdiff
path: root/libavcodec/rv30.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/rv30.c')
-rw-r--r--libavcodec/rv30.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rv30.c b/libavcodec/rv30.c
index b4a52e03ad..62177dda78 100644
--- a/libavcodec/rv30.c
+++ b/libavcodec/rv30.c
@@ -111,7 +111,7 @@ static int rv30_decode_mb_info(RV34DecContext *r)
av_log(s->avctx, AV_LOG_ERROR, "dquant needed\n");
code -= 6;
}
- if(s->pict_type != FF_B_TYPE)
+ if(s->pict_type != AV_PICTURE_TYPE_B)
return rv30_p_types[code];
else
return rv30_b_types[code];