summaryrefslogtreecommitdiff
path: root/libavformat/nutenc.c
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/nutenc.c
parent2d5fd7886a29b36e696d01ee777c886b421f4eb2 (diff)
nut: use a define for the nut version
Ease switching version in the future and make evident why that value.
Diffstat (limited to 'libavformat/nutenc.c')
-rw-r--r--libavformat/nutenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index df70f94122..7234cd9ee0 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -323,7 +323,7 @@ static void write_mainheader(NUTContext *nut, AVIOContext *bc)
tmp_head_idx;
int64_t tmp_match;
- ff_put_v(bc, 3); /* version */
+ ff_put_v(bc, NUT_VERSION);
ff_put_v(bc, nut->avf->nb_streams);
ff_put_v(bc, nut->max_distance);
ff_put_v(bc, nut->time_base_count);