VLC is unable to decode some (M)JPEGs
I have two Logitech web cameras, "Notebook Pro" and "HD C910", which are UVC-compatible and capable of emitting MJPEG streams through V4L2. I'm grabbing these frames in my program and writing them into .mkv and also streaming over HTTP. When i watch these .mkv or streams generated by first camera, VLC handles them fine, but when i'm using second camera, VLC displays garbage with most of the screen grey.
BUT! The same stream is watched fine in Firefox, frames from the stream are opening well in XnView etc. And .mkv are playing fine in MPC-HC.
Latest VLC night build behaves the same way, the only difference that it just crashes when trying to display HTTP stream :)
I'm attaching the JPEG in question, and screenshot of VLC displaying such streams.