[FFmpeg-devel] Google Summer of Code participation
Michael Niedermayer
michaelni
Mon Apr 6 03:06:51 CEST 2009
On Sun, Apr 05, 2009 at 11:41:03PM +0200, Thilo Borgmann wrote:
>
>
> Ronald S. Bultje schrieb:
>> Hi,
>>
>> On Sun, Apr 5, 2009 at 4:20 PM, Thilo Borgmann
>> <thilo.borgmann at googlemail.com> wrote:
>>
>>> Michael Niedermayer schrieb:
>>>
>>>> it would be nice to in addition see the diff between utils.c and
>>>> avpacket.c to make sure nothing was unintentionally changed
>>>>
>> [..]
>>
>>> A manual "diff -up" makes no sense to me as it shows a lot of lines hard
>>> to
>>> read... please tell me how to generate what you want to see.
>>>
>>
>> One way to do it (spartanic, but works): diff -u old_file new_file,
>> and then basically just making sure that nothing changed with in the
>> AVPacket code, so:
>>
>> @@ ...
>> - all these lines
>> - and so on
>> - bla bla bla
>>
>> typedef struct AVPacket {
>> /* bla bla
>> @@ ... < - HERE - >
>> int last_member_of_avpacket;
>> } AVPacket;
>>
>> - bla bla bla
>> - rest of file
>> - and so on
>>
>> There should be nothing additionally changed (cosmetics, spaces,
>> typos, etc.) in the <- HERE -> part within the AVPacket struct
>> declaration (and the functions that you copied, etc.).
>>
>>
> Thanks, although it is not about the AVPacket struct anymore but about the
> new avpacket.c.
> Ok, I did a attach the "diff -up libavformat/utils.c libavcodec/avpacket.c"
> (utilsXavpacket.diff) although it breaks up the function, see yourselves. I
we of course need a diff that represents the difference between 2 revissions
not a diff between 2 files of the same revission
[...]
> --- libavformat/utils.c 2009-04-05 23:11:38.000000000 +0200
> +++ libavcodec/avpacket.c 2009-04-05 23:16:26.000000000 +0200
> @@ -1,6 +1,7 @@
> /*
> - * various utility functions for use within FFmpeg
> - * Copyright (c) 2000, 2001, 2002 Fabrice Bellard
> + * AVPacket functions for libavcodec
> + * Copyright (c) 2001 Fabrice Bellard
> + * Copyright (c) 2002-2004 Michael Niedermayer <michaelni at gmx.at>
why did fabrice loose 2 years?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090406/1492a7ed/attachment.pgp>
More information about the ffmpeg-devel
mailing list