]> git.sesse.net Git - mlt/commit
mlt_property_get_time(): get mutex before accessing self->types
authorMikko Rapeli <mikko.rapeli@iki.fi>
Wed, 25 Jul 2012 18:43:44 +0000 (20:43 +0200)
committerMikko Rapeli <mikko.rapeli@iki.fi>
Wed, 25 Jul 2012 22:17:56 +0000 (00:17 +0200)
commitce6c789e1000f61f9f50a3e39955f6f6a02cc7ca
treede55426ee0c83743845131402cc453f0acc0149f
parentef0d7da89ebe98a02de857a9b4c05eb617b15b38
mlt_property_get_time(): get mutex before accessing self->types

Fixes Coverity CID 709356: Data race condition (MISSING_LOCK)
Accessing variable "self->types" (mlt_property_s.types) requires the mlt_property_s.mutex lock.
871                self->types |= mlt_prop_string;
src/framework/mlt_property.c