[FFmpeg-devel] [PATCH 1/2] lavu: add AVVideoFramePool
Matthieu Bouron
matthieu.bouron at gmail.com
Fri Dec 11 19:35:08 CET 2015
On Fri, Dec 11, 2015 at 7:07 PM, Michael Niedermayer <michaelni at gmx.at>
wrote:
> 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....
>
>
Fixed, new patch attached.
Thanks.
[...]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavu-add-AVVideoFramePool.patch
Type: text/x-diff
Size: 8786 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151211/835c6799/attachment.patch>
More information about the ffmpeg-devel
mailing list