Added mechanism for finding memory leaks
Removed av_stream_get_duration)