From e2407556f1bea0f3968ff59c80ca6bf782340edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Mon, 16 Jan 2012 16:10:22 +0100 Subject: [PATCH] gxfenc: use new public timecode API. --- libavformat/gxfenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c index 752e042cdd..ef2fcbe42f 100644 --- a/libavformat/gxfenc.c +++ b/libavformat/gxfenc.c @@ -22,7 +22,7 @@ #include "libavutil/intfloat.h" #include "libavutil/opt.h" #include "libavutil/mathematics.h" -#include "libavcodec/timecode.h" +#include "libavutil/timecode.h" #include "avformat.h" #include "internal.h" #include "gxf.h" @@ -995,7 +995,7 @@ static int gxf_interleave_packet(AVFormatContext *s, AVPacket *out, AVPacket *pk } static const AVOption options[] = { - { TIMECODE_OPT(GXFContext, AV_OPT_FLAG_ENCODING_PARAM) }, + { AV_TIMECODE_OPTION(GXFContext, tc.str, AV_OPT_FLAG_ENCODING_PARAM) }, { NULL } }; -- GitLab