]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/flashsv2enc.c
vda: cosmetic.
[ffmpeg] / libavcodec / flashsv2enc.c
index 9f7017e033f420ea21b490818b77b83a9a0f66f3..6466be7858d7f02c743fe29c55b6045c3da0e629 100644 (file)
@@ -870,12 +870,12 @@ static int flashsv2_encode_frame(AVCodecContext * avctx, uint8_t * buf,
 
     if (keyframe) {
         new_key_frame(s);
-        p->pict_type = FF_I_TYPE;
+        p->pict_type = AV_PICTURE_TYPE_I;
         p->key_frame = 1;
         s->last_key_frame = avctx->frame_number;
         av_log(avctx, AV_LOG_DEBUG, "Inserting key frame at frame %d\n", avctx->frame_number);
     } else {
-        p->pict_type = FF_P_TYPE;
+        p->pict_type = AV_PICTURE_TYPE_P;
         p->key_frame = 0;
     }