[FFmpeg-devel] [PATCH] samplefmt: add missing include.

Måns Rullgård mans
Thu Feb 17 13:34:27 CET 2011


Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:

> Add missing inclusion of "avutil.h" to samplefmt.h. This is required,
> to make the header usable without the explicit inclusion of further
> headers in files using it.
> ---
>  libavutil/samplefmt.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/libavutil/samplefmt.h b/libavutil/samplefmt.h
> index 0604580..9739d77 100644
> --- a/libavutil/samplefmt.h
> +++ b/libavutil/samplefmt.h
> @@ -19,6 +19,8 @@
>  #ifndef AVUTIL_SAMPLEFMT_H
>  #define AVUTIL_SAMPLEFMT_H
>
> +#include "avutil.h"
> +

Why?  I don't see anything in samplefmt.h referencing anything defined
in avutil.h.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list