mirror of https://github.com/FFmpeg/FFmpeg.git
Do not propagate the return value of avformat_write_header(), as it contains the information whether the output had already been initialized in avformat_init_output(), but this is set generically; the return value of FFOutputFormat.write_header is not documented at all (and is currently ignored if >= 0), but it is more future-proof to simply return 0 on success. Reviewed-by: Liu Steven <lq@chinaffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>release/7.0
parent
d085f341d6
commit
440f8186ef
2 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue