1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02: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:
Ganesh Ajjanagadde 2015-12-21 08:36:46 -08:00
parent 879b4a9d3e
commit fc5e39544b

View File

@ -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);
/**