mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 01:40:04 +01:00
avformat/nut: add minor_version field with version>=4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -233,6 +233,8 @@ static int decode_main_header(NUTContext *nut)
|
||||
return AVERROR(ENOSYS);
|
||||
}
|
||||
nut->version = tmp;
|
||||
if (nut->version > 3)
|
||||
nut->minor_version = ffio_read_varlen(bc);
|
||||
|
||||
GET_V(stream_count, tmp > 0 && tmp <= NUT_MAX_STREAMS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user