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
@@ -39,7 +39,7 @@ static int pnm_encode_frame(AVCodecContext *avctx, unsigned char *outbuf,
|
||||
}
|
||||
|
||||
*p = *pict;
|
||||
p->pict_type = FF_I_TYPE;
|
||||
p->pict_type = AV_PICTURE_TYPE_I;
|
||||
p->key_frame = 1;
|
||||
|
||||
s->bytestream_start =
|
||||
|
||||
Reference in New Issue
Block a user