Commit f46fa6e0 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #8283 from ramele1907:master

parents 408ef5c6 a41d877f
......@@ -720,7 +720,7 @@ public:
strm.putInt(height);
strm.putShort(1); // planes (1 means interleaved data (after decompression))
strm.putShort(channels); // bits per pixel
strm.putShort(8 * channels); // bits per pixel
strm.putInt(fourCC('M', 'J', 'P', 'G'));
strm.putInt(width * height * channels);
strm.putInt(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment