[FFmpeg-devel] [PATCH 09/11] gxfenc: use new public timecode API.

Clément Bœsch ubitux at gmail.com
Mon Jan 16 17:30:12 CET 2012


From: Clément Bœsch <clement.boesch at smartjog.com>

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

diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c
index 47b64ef..6f16476 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"
@@ -1000,7 +1000,7 @@ static int gxf_interleave_packet(AVFormatContext *s, AVPacket *out, AVPacket *pk
 }
 
 static const AVOption options[] = {
-    { TIMECODE_OPT(GXFContext, AV_OPT_FLAG_ENCODING_PARAM) },
+    { AVTIMECODE_OPTION(GXFContext, tc.str, AV_OPT_FLAG_ENCODING_PARAM) },
     { NULL }
 };
 
-- 
1.7.7.3



More information about the ffmpeg-devel mailing list