[MPlayer-dev-eng] [PATCH] demux_mov cleanup

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Jul 9 21:02:39 CEST 2005


Hi,
On Sat, Jul 09, 2005 at 09:04:22AM -0400, The Wanderer wrote:
> >attached is a purely cosmetic patch for demux_mov.c that moves part
> >of the lschunks funktion into a seperate function.
> 
> Not quite *purely* cosmetic; I haven't looked at the patch in detail,
> but as a side effect of checking for stray printfs (which I try to do on
> every submitted patch, since we don't usually want them - in patches
> like this where none are expected, it's mostly just to reinforce the
> habit), I noticed that there's an #if 0 block in case MOV_FOURCC('m',
> 'd', 'h', 'd') which contains several printfs and does not appear in the
> separate-function version of the code. Since the code doesn't get
> compiled in any case the change has no effect on functionality, but I
> don't know if it's a good idea to remove such code without being sure of
> why it was left there in the first place.

Yes, you're right, forgot about that. But they were purely debugging,
dumping a few dwords (that are normally just skipped), and removing
them allowed me to get rid of an unused variable.

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list