[Ffmpeg-devel] [PATCH] Reuse offsetof
Måns Rullgård
mru
Thu Sep 14 14:42:47 CEST 2006
Panagiotis Issaris said:
> Hi,
>
> Op maandag 11 september 2006 11:34, schreef Panagiotis Issaris:
>>[...]
>> > The attached patch makes OFFSET() reuse offsetof in both libavcodec and
>> > libavformat.
>> >
>> > libavcodec/utils.c | 2 +-
>> > libavformat/utils.c | 2 +-
>> > 2 files changed, 2 insertions(+), 2 deletions(-)
>> >
>> > make and make test verified.
>> Any comments on this trivial patch?
>
> Let me add that it adds no further dependencies or anything, as
> "offsetoff" is already defined (if not available) in libavutil/internal.h
And it's included in C99.
--
M?ns Rullg?rd
mru at inprovide.com
More information about the ffmpeg-devel
mailing list