X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fpamenc.c;h=fbf9fd88aaf5e80a21314e404b9987ff6952f316;hb=d3a6c2ab7e76f12f56932a087266b082dc1dc39b;hp=8225a627074b0e7e673fe764e0fee8f6880fd6a2;hpb=2912e87a6c9264d556734e2bf94a99c64cf9b102;p=ffmpeg diff --git a/libavcodec/pamenc.c b/libavcodec/pamenc.c index 8225a627074..fbf9fd88aaf 100644 --- a/libavcodec/pamenc.c +++ b/libavcodec/pamenc.c @@ -40,7 +40,7 @@ static int pam_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 =