summaryrefslogtreecommitdiff
path: root/libavformat/nut.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-05-04 12:47:15 +0200
committerLuca Barbato <lu_zero@gentoo.org>2013-05-06 09:14:43 +0200
commit46c1917350f58dfab84e41919e6c02d43950db8c (patch)
treef333a10d04fdacd857174e46fcf41dab0f55c41b /libavformat/nut.h
parent2d5fd7886a29b36e696d01ee777c886b421f4eb2 (diff)
downloadffmpeg-46c1917350f58dfab84e41919e6c02d43950db8c.tar.gz
nut: use a define for the nut version
Ease switching version in the future and make evident why that value.
Diffstat (limited to 'libavformat/nut.h')
-rw-r--r--libavformat/nut.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/nut.h b/libavformat/nut.h
index 89b0248fa4..8e5767d97d 100644
--- a/libavformat/nut.h
+++ b/libavformat/nut.h
@@ -39,6 +39,8 @@
#define MAX_DISTANCE (1024*32-1)
+#define NUT_VERSION 3
+
typedef enum{
FLAG_KEY = 1, ///<if set, frame is keyframe
FLAG_EOR = 2, ///<if set, stream has no relevance on presentation. (EOR)