diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-05 11:15:36 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-05 15:15:31 +0100 |
commit | 440f8186ef9baf3f581fc463f318014d3176c4cd (patch) | |
tree | 257b98e4b1af2888abf67268ff4f465099a4e8a2 /libavfilter/vf_idet.h | |
parent | d085f341d66ebfe5b29d67773e89c253f4eb99a8 (diff) | |
download | ffmpeg-440f8186ef9baf3f581fc463f318014d3176c4cd.tar.gz |
avformat/dashenc, hlsenc: Return 0 on succes from write_header
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>
Diffstat (limited to 'libavfilter/vf_idet.h')
0 files changed, 0 insertions, 0 deletions