mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
Revision 3884 removed the variable i from the loop end condition causing segfaults if "--engage native_mpeg4" is used together with MPEG-4 part 2 video. Fix for bug 318.
This commit is contained in:
parent
1d43772307
commit
3a6a29c1d5
@ -1,3 +1,8 @@
|
||||
2008-12-13 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: bug fix: Fixed a crash (segfault) with MPEG-4 part 2
|
||||
video if "--engage native_mpeg4" is used. Fix for bug 318.
|
||||
|
||||
2008-12-08 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* Windows installer: The installer cleans up leftovers from old
|
||||
|
@ -503,7 +503,7 @@ mpeg4_p2_video_packetizer_c::flush_frames_maybe(frame_type_e next_frame) {
|
||||
|
||||
int num_bframes = 0;
|
||||
int i;
|
||||
for (i = 0; m_queued_frames.size() > 0; ++i)
|
||||
for (i = 0; m_queued_frames.size() > i; ++i)
|
||||
if (FRAME_TYPE_B == m_queued_frames[i].type)
|
||||
++num_bframes;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user