[gegl] ff-save: use s/ PIX_FMT_/ AV_PIX_FMT_/
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] ff-save: use s/ PIX_FMT_/ AV_PIX_FMT_/
- Date: Sat, 21 Nov 2015 20:24:37 +0000 (UTC)
commit 037bde6118c3e14636f95c8b1d5da5701be414b3
Author: Øyvind Kolås <pippin gimp org>
Date: Sat Nov 21 21:22:32 2015 +0100
ff-save: use s/ PIX_FMT_/ AV_PIX_FMT_/
operations/external/ff-save.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/operations/external/ff-save.c b/operations/external/ff-save.c
index a26107e..a54c85d 100644
--- a/operations/external/ff-save.c
+++ b/operations/external/ff-save.c
@@ -582,9 +582,9 @@ open_video (Priv * p, AVFormatContext * oc, AVStream * st)
picture is needed too. It is then converted to the required
output format */
p->tmp_picture = NULL;
- if (c->pix_fmt != PIX_FMT_RGB24)
+ if (c->pix_fmt != AV_PIX_FMT_RGB24)
{
- p->tmp_picture = alloc_picture (PIX_FMT_RGB24, c->width, c->height);
+ p->tmp_picture = alloc_picture (AV_PIX_FMT_RGB24, c->width, c->height);
if (!p->tmp_picture)
{
fprintf (stderr, "Could not allocate temporary picture\n");
@@ -630,13 +630,13 @@ write_video_frame (GeglProperties *o,
c = st->codec;
- if (c->pix_fmt != PIX_FMT_RGB24)
+ if (c->pix_fmt != AV_PIX_FMT_RGB24)
{
struct SwsContext *img_convert_ctx;
fill_rgb_image (o, p->tmp_picture, p->frame_count, c->width,
c->height);
- img_convert_ctx = sws_getContext(c->width, c->height, PIX_FMT_RGB24,
+ img_convert_ctx = sws_getContext(c->width, c->height, AV_PIX_FMT_RGB24,
c->width, c->height, c->pix_fmt,
SWS_BICUBIC, NULL, NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]