mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-26 10:20:52 +08:00
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
committed by
Diego Biurrun
parent
6209669de4
commit
975a1447f7
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user