[XviD-devel] maybe I found a bug

Christoph Lampert xvid-devel@xvid.org
Mon, 30 Sep 2002 09:46:57 +0200 (CEST)


On Mon, 30 Sep 2002, Radoslaw 'sysKin' Czyz wrote:

> Hi,
> 
> I think I found a problem which caused current CVS to crash on my
> machine. I'm sorry I'm not sure, but I'm online for a few minutes only
> so it's probably better to tell you now, then to try to fix this
> myself and THEN tell you - especially becaue it's the area of encoder
> which I don't know. 
> I did some tests and the crash happens in BitstreamWriteVopHeader()
> which is called by FrameCodeI - this is the first frame in the
> bitstream.
> 
> There is a line:
>         for (i = 0; i < frame->seconds; i++) {


So maybe you didn't use latest CVS? Or a mixture of old and new.

frame->seconds is set in encoder.c by set_timecodes(). That's part of the
new timecodes I commited two days ago.



> Right before this line my debug output says that frame->seconds equals
> -31091 (uninitialized?). My next debug output should be right before
> WRITE_MARKER() - this debug string is not in my file, so this must be
> _after_ the crash.
> 
> I don't know what should be there, what's being done there etc - so
> please help me.
> 
> I'm going off-line for a few hours now.
> 
> Regards,
> Radek
> 
> _______________________________________________
> XviD-devel mailing list
> XviD-devel@xvid.org
> http://list.xvid.org/mailman/listinfo/xvid-devel
>