[FFmpeg-devel] [PATCH] lavf/avformat: add av_warn_unused_result to avformat_write_header

Ganesh Ajjanagadde gajjanagadde at gmail.com
Thu Dec 17 22:53:08 CET 2015


Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
---
 libavformat/avformat.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index ddf07b1..32bed01 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);
 
 /**
-- 
2.6.4



More information about the ffmpeg-devel mailing list