[FFmpeg-devel] [PATCH]lavc/alac: Make a variable unsigned

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Apr 18 16:25:22 EEST 2019


2019-04-18 14:54 GMT+02:00, Lauri Kasanen <cand at gmx.com>:
> On Thu, 18 Apr 2019 13:53:37 +0200
> Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>
>> Hi!
>>
>> Attached patch silences a warning that is shown with some gcc versions.
>
> It pokes my style sense to have different things in the sizeof() and
> the var. How about uint32_t in both?

I believe the sizeof() is an unrelated issue, I don't need 32 bit for the
size, just a variable size the system likes in the 64k range.

I wonder if the sizeof() isn't wrong, it looks wrong because
it uses a type instead of a variable.

Carl Eugen


More information about the ffmpeg-devel mailing list