mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-07-26 03:06:26 +00:00
lavf/avformat: add av_warn_unused_result to avformat_write_header
May be useful as a defense, see e.g c62d1780ff.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
This commit is contained in:
@@ -2283,6 +2283,7 @@ void avformat_close_input(AVFormatContext **s);
|
||||
*
|
||||
* @see av_opt_find, av_dict_set, avio_open, av_oformat_next.
|
||||
*/
|
||||
av_warn_unused_result
|
||||
int avformat_write_header(AVFormatContext *s, AVDictionary **options);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user