0001-use-av_frame_alloc-instead-of-avcodec_alloc_frame.patch

diff между gegl-0.2.0-orig и после применения патча - Фёдор Ратиев, 09/12/2017 05:05 pm

Download (955 Bytes)

 
b/operations/external/ff-load.c 2017-09-12 02:15:30.078078648 +0300
321 321
      p->width = p->enc->width;
322 322
      p->height = p->enc->height;
323 323
      p->frames = 10000000;
324
      p->lavc_frame = avcodec_alloc_frame ();
324
      p->lavc_frame = av_frame_alloc ();
325 325

  
326 326
      if (p->fourcc)
327 327
        g_free (p->fourcc);
b/operations/workshop/external/ff-save.c 2017-09-12 02:15:30.082078648 +0300
537 537
  uint8_t  *picture_buf;
538 538
  int       size;
539 539

  
540
  picture = avcodec_alloc_frame ();
540
  picture = av_frame_alloc ();
541 541
  if (!picture)
542 542
    return NULL;
543 543
  size = avpicture_get_size (pix_fmt, width, height);
Thank you!