mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avformat/nutenc: fix used version value
The broadcast/pipe flags arent stable + 1 they would be 4 or whenever but wouldnt change based on which is stable Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
20343cfb51
commit
99b15f1daa
1 changed files with 1 additions and 1 deletions
|
|
@ -697,7 +697,7 @@ static int nut_write_header(AVFormatContext *s)
|
|||
|
||||
nut->avf = s;
|
||||
|
||||
nut->version = NUT_STABLE_VERSION + !!nut->flags;
|
||||
nut->version = FFMAX(NUT_STABLE_VERSION, 3 + !!nut->flags);
|
||||
if (nut->flags && s->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
|
||||
av_log(s, AV_LOG_ERROR,
|
||||
"The additional syncpoint modes require version %d, "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue