Commit 3f2ce24f authored by Michael Niedermayer's avatar Michael Niedermayer

h264_refs: assert that the references are not deallocated

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent fbb6741a
......@@ -317,6 +317,7 @@ int ff_h264_decode_ref_pic_list_reordering(H264Context *h)
else
return -1;
}
av_assert0(av_buffer_get_ref_count(h->ref_list[list][index].f.buf[0]) > 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