]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/sgienc.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavcodec / sgienc.c
index eafb655b46507810ee7d98942ca04195d42a0e07..1e2af8e7ae4824fc0460313518f570395e438424 100644 (file)
@@ -52,7 +52,7 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf,
     unsigned char *orig_buf = buf, *end_buf = buf + buf_size;
 
     *p = *(AVFrame*)data;
-    p->pict_type = FF_I_TYPE;
+    p->pict_type = AV_PICTURE_TYPE_I;
     p->key_frame = 1;
 
     width  = avctx->width;