[FFmpeg-cvslog] gxfenc: use new public timecode API.

Clément Bœsch git at videolan.org
Thu Feb 2 14:41:12 CET 2012


ffmpeg | branch: master | Clément Bœsch <clement.boesch at smartjog.com> | Mon Jan 16 16:10:22 2012 +0100| [e2407556f1bea0f3968ff59c80ca6bf782340edb] | committer: Clément Bœsch

gxfenc: use new public timecode API.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e2407556f1bea0f3968ff59c80ca6bf782340edb
---

 libavformat/gxfenc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c
index 752e042..ef2fcbe 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 }
 };
 



More information about the ffmpeg-cvslog mailing list