[Ffmpeg-cvslog] r8608 - in trunk: Changelog doc/ffmpeg-doc.texi libavcodec/Makefile libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/tiff.c libavcodec/tiff.h libavcodec/tiffenc.c

Baptiste Coudurier baptiste.coudurier
Wed Apr 4 15:55:23 CEST 2007


Hi

michael wrote:
> [...]
> 
> +    add_entry(s, TIFF_WIDTH,             TIFF_LONG,     1,      (uint32_t[]) {s->width});
> +    add_entry(s, TIFF_HEIGHT,            TIFF_LONG,     1,      (uint32_t[]) {s->height});
> +
> [...]
> +
> +    add_entry(s, TIFF_COMPR,             TIFF_SHORT,    1,      (uint16_t[]) {s->compr});
> +    add_entry(s, TIFF_INVERT,            TIFF_SHORT,    1,      (uint16_t[]) {s->invert});
> [...]
> +    add_entry(s, TIFF_SAMPLES_PER_PIXEL, TIFF_SHORT,    1,      (uint16_t[]) {s->bpp_tab_size});
> +
> +    add_entry(s, TIFF_ROWSPERSTRIP,      TIFF_LONG,     1,      (uint32_t[]) {s->rps});

gcc-2.95 complains here:

gcc-2.95 -v
Reading specs from /usr/lib/gcc-lib/i486-linux-gnu/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

gcc-2.95 -I"/usr/local/src/ffmpeg/svn"/libswscale   -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
-I"/usr/local/src/ffmpeg/svn" -I"/usr/local/src/ffmpeg/svn"
-I"/usr/local/src/ffmpeg/svn"/libavutil -fomit-frame-pointer -pthread -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wno-pointer-sign -O3  -c -o tiffenc.o
tiffenc.c
cc1: Invalid option `-Wdeclaration-after-statement'
cc1: Invalid option `-Wdisabled-optimization'
cc1: Invalid option `-Wno-pointer-sign'
In file included from /usr/include/sys/types.h:270,
                 from /usr/include/stdlib.h:438,
                 from /usr/local/src/ffmpeg/svn/libavutil/common.h:35,
                 from /usr/local/src/ffmpeg/svn/libavutil/avutil.h:44,
                 from avcodec.h:34,
                 from tiffenc.c:28:
/usr/include/bits/pthreadtypes.h:69: warning: unnamed struct/union that
defines no instances
tiffenc.c: In function `encode_frame':
tiffenc.c:301: invalid use of non-lvalue array
tiffenc.c:302: invalid use of non-lvalue array
tiffenc.c:307: invalid use of non-lvalue array
tiffenc.c:308: invalid use of non-lvalue array
tiffenc.c:312: invalid use of non-lvalue array
tiffenc.c:314: invalid use of non-lvalue array

[...]

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-cvslog mailing list