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
@@ -180,10 +180,10 @@ static int cmv_decode_frame(AVCodecContext *avctx,
|
||||
if ((buf[0]&1)) { // subtype
|
||||
cmv_decode_inter(s, buf+2, buf_end);
|
||||
s->frame.key_frame = 0;
|
||||
s->frame.pict_type = FF_P_TYPE;
|
||||
s->frame.pict_type = AV_PICTURE_TYPE_P;
|
||||
}else{
|
||||
s->frame.key_frame = 1;
|
||||
s->frame.pict_type = FF_I_TYPE;
|
||||
s->frame.pict_type = AV_PICTURE_TYPE_I;
|
||||
cmv_decode_intra(s, buf+2, buf_end);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user