nut: use a define for the nut version

Ease switching version in the future and make evident why that value.
This commit is contained in:
Luca Barbato
2013-05-04 12:47:15 +02:00
parent 2d5fd7886a
commit 46c1917350
3 changed files with 4 additions and 2 deletions

View File

@@ -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);