These files should demonstrate a problem we had with the FFMPEG mjpeg decoder.

The file correct_rgb_image.bmp is what the expected output should be.

The rgb_mjpeg_format.mjpeg file is a capture of the stream data that causes 
the FFMPEG to fail in the decode.  The image gets decoded ok but the color
is wrong.  

The problem is that the file format for this stream is in RGB native color. 
When the decode_block expands the image it should bypass the YCbCr conversion 
and just use the values as RGB colors.  I was able to fix this using a Pegasus
decoder and specify the flag PF2_RgbJpeg.  The component IDs for the JPEG header
are RGB so I think this could be used to signal the decoder that this is a RGB
format JPEG image.  I tried to fix this myself but I did not have the time or 
experience to do it. If I can help in any way please let me know.

Thanks

Mark Maestas
maestas@aplabs.com
mark.maestas@yahoo.com