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

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Jul 24 23:36:06 EEST 2018


2018-07-21 22:43 GMT+02:00, Michael Niedermayer <michael at niedermayer.cc>:
> 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 ?

No, new patch attached.

Thank you, Carl Eugen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-isom-Make-auxiliary_offsets-consistently-uint64.patch
Type: text/x-patch
Size: 1233 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180724/9b9bb2f7/attachment.bin>


More information about the ffmpeg-devel mailing list