[FFmpeg-devel] [PATCH]lavf/mov: Make auxiliary_offsets consistently size_t.

Michael Niedermayer michael at niedermayer.cc
Sat Jul 21 23:43:07 EEST 2018


On Sat, Jul 21, 2018 at 03:52:19PM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes a warning on ppc32:
> libavformat/mov.c: In function ‘mov_read_saio’:
> libavformat/mov.c:6207:45: warning: assignment from incompatible
> pointer type [-Wincompatible-pointer-types]
>          encryption_index->auxiliary_offsets = auxiliary_offsets;
>                                              ^
> 
> Please comment, Carl Eugen

This array is used to store 64bit values if version > 0, size_t may be 
smaller, is that intended ?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180721/0a2bd7da/attachment.sig>


More information about the ffmpeg-devel mailing list