ff-save: use av_frame_alloc instead of avcodec_alloc_frame

parent 6870b6ac
......@@ -524,7 +524,7 @@ alloc_picture (int pix_fmt, int width, int height)
uint8_t *picture_buf;
int size;
picture = avcodec_alloc_frame ();
picture = av_frame_alloc ();
if (!picture)
return NULL;
size = avpicture_get_size (pix_fmt, width, height + 1);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment