I have discovered a bug in lav_io.c which has been causing video that I
captured (with decimation == 1) from playing back correctly using the
PICVideo codec under WindowsXP.

Around line 436 in lav_io.c there is the following code:

  if(get_int2(jpgdata+jpeg_app0_offset+2) < 16 ) continue;

I'm not sure what the original intent of this test was, but it always seems
to be true.  This prevents the section of code which follows it from
properly inserting the polarity after the "AVI1" tag.  I noticed that the
APP0 marker, as created in zr36060.c, has a space before the "AVI1" tag.
With the bug I've described above, this incorrectly formatted APP0 marker
gets written out to file.

-- Wes



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to