Commit 511184eb authored by François Grisez's avatar François Grisez
Browse files

Fix crash while seeking

parent 2fbe43a5
......@@ -2066,7 +2066,7 @@ static MKVBlockGroupMaker *mkv_block_group_maker_new(MKVTrackReader *t_reader) {
static void mkv_block_group_maker_reset(MKVBlockGroupMaker *obj) {
mkv_block_queue_flush(obj->queue);
mkv_block_free(obj->waiting_block);
if(obj->waiting_block) mkv_block_free(obj->waiting_block);
obj->waiting_block = NULL;
obj->prev_timestamp = -1;
obj->prev_min_ts = 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