]> git.sesse.net Git - mlt/commit
motion_est/producer_slowmotion.c: check for null pointer
authorMikko Rapeli <mikko.rapeli@iki.fi>
Tue, 31 Jul 2012 09:26:12 +0000 (11:26 +0200)
committerMikko Rapeli <mikko.rapeli@iki.fi>
Mon, 6 Aug 2012 16:37:27 +0000 (18:37 +0200)
commit49c04d7f89178fdc6e78af3412c59984f3232dc4
treedcb936d2b884053e8475f5b717a67ae4aff12973
parent576385a30404f7fd5b4336366596dedc0b17c94a
motion_est/producer_slowmotion.c: check for null pointer

Fixes Coverity CID 709401: Dereference before null check (REVERSE_INULL)
Directly dereferencing pointer "frame".
279        *frame = mlt_frame_init( MLT_PRODUCER_SERVICE( this ) );
280
281        mlt_properties properties = MLT_PRODUCER_PROPERTIES(this);
282
283
Dereferencing "frame" before a null check.
284        if( frame != NULL )
src/modules/motion_est/producer_slowmotion.c