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

Ganesh Ajjanagadde gajjanagadde at gmail.com
Mon Dec 21 17:42:53 CET 2015


On Thu, Dec 17, 2015 at 1:53 PM, Ganesh Ajjanagadde
<gajjanagadde at gmail.com> wrote:
> 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
>

pushed with a commit message giving the rationale.


More information about the ffmpeg-devel mailing list