[Ffmpeg-devel] [PATCH] Split DV demuxer/muxer

Diego Biurrun diego
Tue Sep 5 22:52:33 CEST 2006


On Tue, Sep 05, 2006 at 06:18:20PM +0200, Panagiotis Issaris wrote:
> 
> Op dinsdag 5 september 2006 14:33, schreef Diego Biurrun:
> > On Tue, Sep 05, 2006 at 02:07:03PM +0200, Panagiotis Issaris wrote:
> > > 
> > > The attached patch splits the DV demuxer and muxer in separate
> > > files (as suggested by Diego Biurrun earlier today). I've named
> > > them dvdec/dvenc instead of dvdemux/dvmux in analogy to the 
> > > other split demuxers/muxers.
> > 
> > Note to whoever applies this: Don't forget to use 'svn cp' to create the
> > new files so the common history is not lost.
> So, that would need probably something like this?
> 
> cd ffmpeg
> cp libavformat/dv.c /tmp
> patch -p1 < /tmp/pi-20060905T134634-ffmpeg-dv_split.diff
> mv libavformat/dv???.c /tmp
> cp /tmp/dv.c libavformat/
> svn cp dv.c dvenc.c
> svn cp dv.c dvdec.c
> svn rm dv.c
> mv /tmp/dv???.c libavformat/
> svn commit
> 
> Or would the history still be gone? Does it require a commit
> after the "svn rm dv.c"?

svn cp dv.c dvdec.c
svn cp dv.c dvenc.c
rm dvdec.c dvenc.c
patch -p1 -i /path/to/patch
svn ci

Diego




More information about the ffmpeg-devel mailing list