mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Merge pull request #8283 from ramele1907:master
This commit is contained in:
commit
f46fa6e096
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user