[FFmpeg-devel] [PATCH 1/2] lavu: add AVVideoFramePool

Michael Niedermayer michaelni at gmx.at
Fri Dec 11 19:07:58 CET 2015


On Fri, Dec 11, 2015 at 01:32:46PM +0100, Matthieu Bouron wrote:
> From: Matthieu Bouron <matthieu.bouron at stupeflix.com>
> 
> ---
>  libavutil/frame.c          | 153 +++++++++++++++++++++++++++++++++++++++++++++
>  libavutil/frame.h          |  56 +++++++++++++++++
>  libavutil/frame_internal.h |  37 +++++++++++
>  3 files changed, 246 insertions(+)
>  create mode 100644 libavutil/frame_internal.h


make distclean ; ./configure --enable-shared --cc=clang && make -j12

in file included from libavutil/frame.c:26:
libavutil/frame_internal.h:35:3: error: redefinition of typedef 'AVVideoFramePool' is invalid in C [-Wtypedef-redefinition]
} AVVideoFramePool;
  ^
libavutil/frame.h:718:33: note: previous definition is here
typedef struct AVVideoFramePool AVVideoFramePool;
                                ^
1 error generated.
make: *** [libavutil/frame.o] Error 1
make: *** Waiting for unfinished jobs....


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151211/ea0f54d5/attachment.sig>


More information about the ffmpeg-devel mailing list