]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/flashsvenc.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavcodec / flashsvenc.c
index 042efb5fedf630551590349e1345dad4e4e3ce4b..c0327a911bc272000c17228864fd4b8ce6e127e9 100644 (file)
@@ -260,12 +260,12 @@ static int flashsv_encode_frame(AVCodecContext *avctx, uint8_t *buf,
 
     //mark the frame type so the muxer can mux it correctly
     if (I_frame) {
-        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;
     }