gxfenc: use new public timecode API.

This commit is contained in:
Clément Bœsch 2012-01-16 16:10:22 +01:00 committed by Clément Bœsch
parent d8804905eb
commit e2407556f1

View File

@ -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 }
};