aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorClément Bœsch <clement.boesch@smartjog.com>2012-01-16 14:45:46 +0100
committerClément Bœsch <ubitux@gmail.com>2012-02-02 14:31:17 +0100
commitd8804905ebea1371e19beced2a39ff4bbe3a9722 (patch)
tree9e9f5463537a36b431a4f21ee68feeeeeb88c47c /libavcodec/mpegvideo.h
parentf65600d5196df5dda1e4a0f583bee60f5170b413 (diff)
downloadffmpeg-d8804905ebea1371e19beced2a39ff4bbe3a9722.tar.gz
mpeg12enc: use new public timecode API.
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index f7c8fb784e..568fb86d82 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -36,7 +36,7 @@
#include "parser.h"
#include "mpeg12data.h"
#include "rl.h"
-#include "timecode.h"
+#include "libavutil/timecode.h"
#define FRAME_SKIPPED 100 ///< return value for header parsers if frame is not coded
@@ -649,7 +649,8 @@ typedef struct MpegEncContext {
/* RTP specific */
int rtp_mode;
- struct ff_timecode tc;
+ char *tc_opt_str; ///< timecode option string
+ AVTimecode tc; ///< timecode context
uint8_t *ptr_lastgob;
int swap_uv; //vcr2 codec is an MPEG-2 variant with U and V swapped