[FFmpeg-devel] Google Summer of Code participation
Stefano Sabatini
stefano.sabatini-lala
Tue Apr 7 01:19:01 CEST 2009
On date Tuesday 2009-04-07 01:01:37 +0200, Stefano Sabatini encoded:
> On Monday 2009-04-06 17:46:37 +0200, Thilo Borgmann wrote:
[...]
> > diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c
> > index e69de29..8d9332b 100644
> > --- a/libavcodec/avpacket.c
> > +++ b/libavcodec/avpacket.c
>
> I think here Michael means something like this, I don't use git so I
> don't know which are the corresponding commands, so I'll use the svn
> commands.
>
> svn cp libavformat/utils.c libavcodec/avpacket.c
>
> Then you edit libavcodec/avpacket.c so that it will contain *only* the
> relevant functions. When copying the file the history for the file will
> be inherited by the new file.
>
> Finally you can do:
> svn diff libavformat/utils.c libavformat/avformat.h libavcodec/avcodec.h libavcodec/avpacket.c
>
> to get the complete patch.
BTW while you're at it maybe it would be a good idea to svn cp also
the avformat.h header, i.e. create a libavcodec/avpacket.h file svn
copying libavformat/avformat.h, mark it as an "internal but installed"
(see libavformat/avio.h), and move to avpacket.h the AVPacket
definition.
Regards.
--
FFmpeg = Foolish & Fundamentalist Minimalistic Problematic Elastic Gospel
More information about the ffmpeg-devel
mailing list