summaryrefslogtreecommitdiff
path: root/libavformat/nut.h
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2008-03-07 19:25:09 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2008-03-07 19:25:09 +0000
commit90c2295b24e9fa0c857e459088d18945a6681ef0 (patch)
tree682f689f79fb24ab9cf3277aadaf71c8af625231 /libavformat/nut.h
parentb049ad505478a099535a796306f619a4365ee707 (diff)
downloadffmpeg-90c2295b24e9fa0c857e459088d18945a6681ef0.tar.gz
Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing
of matroska and nut. Originally committed as revision 12358 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nut.h')
-rw-r--r--libavformat/nut.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/nut.h b/libavformat/nut.h
index 4dee3a8da9..2df58fbf85 100644
--- a/libavformat/nut.h
+++ b/libavformat/nut.h
@@ -99,10 +99,17 @@ typedef struct {
extern const AVCodecTag ff_nut_subtitle_tags[];
+typedef struct {
+ char str[9];
+ int flag;
+} Dispositions;
+
void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val);
int64_t ff_lsb2full(StreamContext *stream, int64_t lsb);
int ff_nut_sp_pos_cmp(syncpoint_t *a, syncpoint_t *b);
int ff_nut_sp_pts_cmp(syncpoint_t *a, syncpoint_t *b);
void ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts);
+extern const Dispositions ff_nut_dispositions[];
+
#endif /* FFMPEG_NUT_H */