[Ffmpeg-cvslog] r7260 - trunk/libavcodec/zmbvenc.c

Reimar Doeffinger Reimar.Doeffinger
Fri Dec 8 09:54:46 CET 2006


Hello,
On Fri, Dec 08, 2006 at 12:49:29AM -0500, Rich Felker wrote:
> On Fri, Dec 08, 2006 at 06:28:01AM +0100, kostya wrote:
> > -    c->curfrm = c->curfrm++;
> > +    c->curfrm++;
> 
> These are not equivalent; which is correct? The former was a no-op
> while the latter increments c->curfrm.

They are, the increment is done after the assignment. Nevertheless the
former is a hopelessly convoluted way...

Greetings,
Reimar D?ffinger




More information about the ffmpeg-cvslog mailing list