[FFmpeg-devel] [PATCH] pkt_pts reordering
Aurelien Jacobs
aurel
Sun Jan 9 23:50:34 CET 2011
On Sat, Jan 08, 2011 at 04:23:11PM +0100, Stefano Sabatini wrote:
> On date Saturday 2011-01-08 15:35:53 +0100, Michael Niedermayer encoded:
> > On Sat, Jan 08, 2011 at 12:07:56AM +0100, Michael Niedermayer wrote:
> > > On Fri, Jan 07, 2011 at 10:16:14PM +0100, Stefano Sabatini wrote:
> > > > On date Friday 2011-01-07 15:37:01 +0100, Michael Niedermayer encoded:
> > [...]
> > > [...]
> > > > > @@ -628,6 +630,9 @@ int attribute_align_arg avcodec_decode_video2(AVCodecContext *avctx, AVFrame *pi
> > > > > *got_picture_ptr= 0;
> > > > > if((avctx->coded_width||avctx->coded_height) && av_image_check_size(avctx->coded_width, avctx->coded_height, 0, avctx))
> > > > > return -1;
> > > > > +
> > > > > + avctx->pkt= avpkt;
> > > >
> > > > Nit+++: avctx->pkt_= avpkt;
> > >
> > > fixed some of the space nitpiks, again, i likely forgot some
> >
> > btw, whats the quickest way to make changes to a previous git commit before
> > dcommiting?
>
> git rebase -i REV~1
>
> where REV is the revision specifier for the commit you want to change.
>
> If you are using git-svn and you branched from master, you can detect
> all the commit in the new branch with the command:
> base_rev=$(git log --pretty=oneline 'git-svn..' | tail -n1 | cut -d" " -f1)
> then do
> git rebase -i ${base_rev}~1
If you branched from master and want to modify some of the commits in
your branch, it should be as simple as:
git rebase -i master
In my experience, the quickest way to modify some commits in your
branch before pushing, is to make some new "fixup" commits to fix your
mistakes, and then to use `git rebase -i master` to squash those fixup
commits with the previous commit they are fixing.
Using `git rebase -i master` with the "edit" methode can be convinient
too.
And in case the commit you want to modify is the last one, the quickest
way is to simply do your modifications and `git commit --amend`.
Aurel
More information about the ffmpeg-devel
mailing list