[FFmpeg-devel] [PATCH] lavc: change type of AVFrame.channels field from int64_t to int

Stefano Sabatini stefasab at gmail.com
Mon Feb 11 23:52:14 CET 2013


On date Wednesday 2013-02-06 01:44:58 +0100, Stefano Sabatini encoded:
> "channels" is an int in all the other places in the libraries, and the
> av_frame_*_channels() accessors return and set an int, so this should not
> implicate ABI breaks.
> ---
>  libavcodec/avcodec.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index ca7764a..24e2574 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -1489,7 +1489,7 @@ typedef struct AVFrame {
>       * - encoding: unused
>       * - decoding: Read by user.
>       */
> -    int64_t channels;
> +    int channels;
>  
>      /**
>       * size of the corresponding packet containing the compressed

ping
-- 
FFmpeg = Fast Forgiving Magnificient Pitiless Eager Guru


More information about the ffmpeg-devel mailing list