Fixed mjpeg frame size attribution

This commit is contained in:
Philipp Hasper
2015-11-16 08:40:09 +01:00
parent b4112a5878
commit 4d3915f69a

View File

@@ -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)