[gegl] ff-save: prefix CODEC_ID_NONE with AV_



commit 6870b6ac1258a6bf878f65d4fbdfe4d0c40d48f1
Author: Øyvind Kolås <pippin gimp org>
Date:   Sat Nov 21 21:24:27 2015 +0100

    ff-save: prefix CODEC_ID_NONE with AV_

 operations/external/ff-save.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/external/ff-save.c b/operations/external/ff-save.c
index a54c85d..7f957f4 100644
--- a/operations/external/ff-save.c
+++ b/operations/external/ff-save.c
@@ -745,11 +745,11 @@ tfile (GeglProperties *o)
   p->video_st = NULL;
   p->audio_st = NULL;
 
-  if (p->fmt->video_codec != CODEC_ID_NONE)
+  if (p->fmt->video_codec != AV_CODEC_ID_NONE)
     {
       p->video_st = add_video_stream (o, p->oc, p->fmt->video_codec);
     }
-  if (p->fmt->audio_codec != CODEC_ID_NONE)
+  if (p->fmt->audio_codec != AV_CODEC_ID_NONE)
     {
      p->audio_st = add_audio_stream (o, p->oc, p->fmt->audio_codec);
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]