]> git.sesse.net Git - mlt/commit
mlt_consumer.c: watch out for null pointer
authorMikko Rapeli <mikko.rapeli@iki.fi>
Tue, 24 Jul 2012 17:19:24 +0000 (19:19 +0200)
committerMikko Rapeli <mikko.rapeli@iki.fi>
Tue, 24 Jul 2012 17:19:24 +0000 (19:19 +0200)
commit11c8eb2e98c7d32cad2430132a91008eb51f72cd
treec6dc4bbd72e5983289174dd00387d54b467a6433
parenta6e8bf5f2088bc90c82a922e1dfc16e914517b0e
mlt_consumer.c: watch out for null pointer

Fixes Coverity CID 709393: Dereference before null check (REVERSE_INULL)
Directly dereferencing pointer "profile".
 235                profile->sample_aspect_num = mlt_properties_get_int( properties, "sample_aspect_num" );
Dereferencing "profile" before a null check.
 236                if ( profile )
src/framework/mlt_consumer.c