Commit 4d3915f6 authored by Philipp Hasper's avatar Philipp Hasper

Fixed mjpeg frame size attribution

parent b4112a58
......@@ -554,7 +554,7 @@ bool AviMjpegStream::parseHdrlList(MjpegInputStream& in_str)
m_is_indx_present = ((avi_hdr.dwFlags & 0x10) != 0);
DWORD number_of_streams = avi_hdr.dwStreams;
m_width = avi_hdr.dwWidth;
m_height = avi_hdr.dwWidth;
m_height = avi_hdr.dwHeight;
//the number of strl lists must be equal to number of streams specified in main avi header
for(DWORD i = 0; i < number_of_streams; ++i)
......
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