[FFmpeg-devel] [PATCH 2/2] mem: Make function attribute usage consisten

Michael Niedermayer michael at niedermayer.cc
Sun Jul 31 00:49:16 EEST 2016


On Fri, Jul 29, 2016 at 10:30:38PM -0700, Timothy Gu wrote:
> ---
>  libavutil/mem.h | 42 +++++++++++++++++++++++++++---------------
>  1 file changed, 27 insertions(+), 15 deletions(-)

doesnt build here:

make distclean ; ./configure && make -j12
..
CC      libavdevice/alldevices.o
In file included from ./libavutil/common.h:464:0,
                 from ./libavutil/avutil.h:288,
                 from ./libavutil/log.h:25,
                 from libavdevice/avdevice.h:46,
                 from libavdevice/alldevices.c:22:
./libavutil/mem.h:96:1: error: expected ‘,’ or ‘;’ before ‘{’ token
./libavutil/mem.h:238:1: error: expected ‘,’ or ‘;’ before ‘{’ token
./libavutil/mem.h:95:21: warning: ‘av_malloc_array’ declared ‘static’ but never defined [-Wunused-function]
./libavutil/mem.h:237:21: warning: ‘av_mallocz_array’ declared ‘static’ but never defined [-Wunused-function]
make: *** [libavdevice/alldevices.o] Error 1

gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

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

If you fake or manipulate statistics in a paper in physics you will never
get a job again.
If you fake or manipulate statistics in a paper in medicin you will get
a job for life at the pharma industry.
-------------- 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/20160730/19113168/attachment.sig>


More information about the ffmpeg-devel mailing list