Browse Source

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>
tags/n3.0
Ganesh Ajjanagadde 10 years ago
parent
commit
fc5e39544b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/avformat.h

+ 1
- 0
libavformat/avformat.h 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);

/**


Loading…
Cancel
Save