diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-12-21 08:36:46 -0800 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-12-21 08:39:57 -0800 |
commit | fc5e39544b92af71e2cce7ea9dcb300875f9773b (patch) | |
tree | 416ef95052ad10777dbbb4dcb444e73f8734be01 /libavformat | |
parent | 879b4a9d3ec89f587f9442fd4c7f1f36d5bd39c3 (diff) | |
download | ffmpeg-fc5e39544b92af71e2cce7ea9dcb300875f9773b.tar.gz |
lavf/avformat: add av_warn_unused_result to avformat_write_header
May be useful as a defense, see e.g c62d1780fff8a1997dd1707bbc557efc8fe41e3c.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/avformat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index ddf07b1bf0..32bed018ef 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -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); /** |