]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/bmpenc.c
Fix VDPAU decoding for some H264 samples.
[ffmpeg] / libavcodec / bmpenc.c
index b8f9047c55f1bc434d252a6b02ba5ffc9f4bed41..3719a539f52045d2091529df657f51ee26e4fd62 100644 (file)
@@ -74,7 +74,7 @@ static int bmp_encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_s
     uint8_t *ptr;
     unsigned char* buf0 = buf;
     *p = *pict;
-    p->pict_type= FF_I_TYPE;
+    p->pict_type= AV_PICTURE_TYPE_I;
     p->key_frame= 1;
     switch (avctx->pix_fmt) {
     case PIX_FMT_RGB565: