mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-30 20:16:42 +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
@@ -253,7 +253,7 @@ static int rv40_decode_mb_info(RV34DecContext *r)
|
||||
prev_type = i;
|
||||
}
|
||||
}
|
||||
if(s->pict_type == FF_P_TYPE){
|
||||
if(s->pict_type == AV_PICTURE_TYPE_P){
|
||||
prev_type = block_num_to_ptype_vlc_num[prev_type];
|
||||
q = get_vlc2(gb, ptype_vlc[prev_type].table, PTYPE_VLC_BITS, 1);
|
||||
if(q < PBTYPE_ESCAPE)
|
||||
|
||||
Reference in New Issue
Block a user