diff nut.h @ 3120:ea5623a8efde libavformat

Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing of matroska and nut.
author eugeni
date Fri, 07 Mar 2008 19:25:09 +0000
parents 88e032ac11e7
children 6f61c3b36632
line wrap: on
line diff
--- a/nut.h	Thu Mar 06 20:44:44 2008 +0000
+++ b/nut.h	Fri Mar 07 19:25:09 2008 +0000
@@ -99,10 +99,17 @@
 
 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 */