Hi,
Following a bug report, I just noticed we can crash MLT by simply passing an
invalid transition track. Of course we are not supposed to provide invalid
data, but I guess it would be better if MLT didn't crash on this:
melt color:red -track color:blue -transition affine a_track=-1 b_track=1
This is caused in mlt_transition.c, line 446:
// Get all frames between a and b
for( i = a_track; i <= b_track; i ++ )
mlt_service_get_frame( self->producer, &self->frames[ i ], i );
No check is done for valid a_track or b_track values.
A simple check before can fix the issue, like:
if (a_track < 0)
a_track = 0;
if (b_track < 0)
b_track = 0;
But not sure how (and if) you want to handle it.
Best regards,
jb
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel