[FFmpeg-devel] av_image_get_buffer_size

Moritz Barsnick barsnick at gmx.net
Mon May 9 14:17:58 CEST 2016


Hi Paolo,

On Mon, May 09, 2016 at 12:10:07 +0200, Paolo Delle Piane wrote:
> Please, can you tell me how to solve this compilation or linker error using
> gcc: undefined reference to `av_image_get_buffer_size`

Questions regarding the use of/programming with the ffmpeg libraries
belong into the libav-user list.

That said:
> Which header file must be used with the function av_image_get_buffer_size ?
> 
> I included libavutil/avutil.h, libavutil/imgutils.h, libavutil/parseutils.h
> but nothing to do.

In my source, it is available in libavutil/imgutils.h, see here:
https://github.com/FFmpeg/FFmpeg/blob/master/libavutil/imgutils.h#L159

Cheers,
Moritz


More information about the ffmpeg-devel mailing list