diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-12-23 03:25:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-12-25 02:03:19 +0100 |
commit | 804ea14b3564be53487d490c7f9f02c039542832 (patch) | |
tree | 2fe65fef8db712c8d03641bb8738cb85c8e019a0 /libavformat/nutenc.c | |
parent | 6aa50374bf27f5a7cbb023e64699a26ea619cf88 (diff) | |
download | ffmpeg-804ea14b3564be53487d490c7f9f02c039542832.tar.gz |
avformat/nut: add minor_version field with version>=4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/nutenc.c')
-rw-r--r-- | libavformat/nutenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c index bee1fbe8c2..107e57b445 100644 --- a/libavformat/nutenc.c +++ b/libavformat/nutenc.c @@ -338,6 +338,8 @@ static void write_mainheader(NUTContext *nut, AVIOContext *bc) int64_t tmp_match; ff_put_v(bc, nut->version = NUT_VERSION); + if (nut->version > 3) + ff_put_v(bc, nut->minor_version); ff_put_v(bc, nut->avf->nb_streams); ff_put_v(bc, nut->max_distance); ff_put_v(bc, nut->time_base_count); |